Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 69.69 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3238, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002002/0.3258, allocations: 0.7025 MB / 1.054 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.3266, allocations: 0.8118 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.3267, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.3267, allocations: 7.875 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.3268, allocations: 3.938 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.333e-05/0.3269, allocations: 19.97 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.3269, allocations: 39.86 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.327, allocations: 8 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.245e-05/0.3271, allocations: 27.91 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.3271, allocations: 23.84 kB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3272, allocations: 4 kB / 1.055 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.3272, allocations: 4 kB / 1.055 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.3272, allocations: 4 kB / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.3272, allocations: 23.92 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.252e-05/0.3273, allocations: 39.81 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3273, allocations: 0 / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3273, allocations: 0 / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3273, allocations: 0 / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004372/0.3278, allocations: 355.7 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3278, allocations: 8.625 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.3279, allocations: 38.73 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.3279, allocations: 12.84 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.328, allocations: 172.3 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.328, allocations: 384 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.328, allocations: 384 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3282, allocations: 74.16 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3282, allocations: 3.938 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3283, allocations: 0 / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3283, allocations: 0 / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.3285, allocations: 67.92 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.3288, allocations: 272.8 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.329, allocations: 58.47 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.3292, allocations: 40.92 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.3292, allocations: 4 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3292, allocations: 34.55 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3292, allocations: 0 / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004925/0.3297, allocations: 125.6 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3298, allocations: 51.41 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.3298, allocations: 109.8 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3299, allocations: 33.7 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.3299, allocations: 84.08 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3299, allocations: 15.8 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.33, allocations: 17.72 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.33, allocations: 314.8 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3302, allocations: 31.95 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3303, allocations: 31.91 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.3306, allocations: 80.98 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3306, allocations: 0 / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002904/0.3309, allocations: 101.6 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3309, allocations: 5.094 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3309, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3309, allocations: 4 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3311, allocations: 23.91 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3311, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.3311, allocations: 11.98 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3311, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.3312, allocations: 109.8 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.3312, allocations: 11.91 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.3313, allocations: 3.906 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3313, allocations: 4 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3313, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3313, allocations: 4 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3314, allocations: 169.6 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3314, allocations: 8 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/0.3315, allocations: 11.98 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3315, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3316, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3316, allocations: 4 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3316, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.3319, allocations: 203.3 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.3319, allocations: 84.95 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.332, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.3321, allocations: 11.98 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3321, allocations: 7.984 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3321, allocations: 8 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.3322, allocations: 79.28 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3322, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000206/0.3324, allocations: 12 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005876/0.333, allocations: 0.728 MB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.3333, allocations: 71.86 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3333, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3334, allocations: 39.95 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3337, allocations: 7.938 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.3341, allocations: 167 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3343, allocations: 0.6846 MB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.3343, allocations: 0 / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.3344, allocations: 15.44 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3344, allocations: 3.938 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1386/0.473, allocations: 1.595 MB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.93, allocations: 0.7031 kB / 1.061 GB, free: 4 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches