Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",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.0008762/0.0008761, allocations: 91.06 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005069/0.005069, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.376/2.376, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 11.66 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2361, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002346/0.2385, allocations: 1.91 MB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.3765, allocations: 146.7 MB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.3768, allocations: 3.938 kB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009002/0.3777, allocations: 0.7681 MB / 1.205 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000698/0.3784, allocations: 478.8 kB / 1.205 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000949/0.3794, allocations: 353.5 kB / 1.205 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006372/0.38, allocations: 0.542 MB / 1.206 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.3802, allocations: 80.98 kB / 1.206 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.3816, allocations: 319.5 kB / 1.206 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.3821, allocations: 463.6 kB / 1.207 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.3822, allocations: 12 kB / 1.207 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.3827, allocations: 279.6 kB / 1.207 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.3829, allocations: 179.7 kB / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.3832, allocations: 271.7 kB / 1.207 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007609/0.3839, allocations: 0.7004 MB / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3839, allocations: 0 / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3839, allocations: 0 / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.384, allocations: 0 / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001432/0.3854, allocations: 0.9718 MB / 1.209 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3854, allocations: 15.97 kB / 1.209 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.738e-05/0.3855, allocations: 50.55 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.387, allocations: 194.7 kB / 1.209 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.3876, allocations: 490.8 kB / 1.21 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3876, allocations: 16.36 kB / 1.21 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.3876, allocations: 16 kB / 1.21 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.3885, allocations: 334.9 kB / 1.21 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3885, allocations: 3.938 kB / 1.21 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.3886, allocations: 8 kB / 1.21 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3886, allocations: 7.984 kB / 1.21 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3898, allocations: 336.7 kB / 1.21 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.3918, allocations: 1.124 MB / 1.212 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.3929, allocations: 399.1 kB / 1.212 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/0.3935, allocations: 205.6 kB / 1.212 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.3936, allocations: 11.92 kB / 1.212 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007722/0.3943, allocations: 308.8 kB / 1.212 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.3943, allocations: 0 / 1.212 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.008452/0.4028, allocations: 1.203 MB / 1.214 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4029, allocations: 85.11 kB / 1.214 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.4041, allocations: 1.341 MB / 1.215 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.4042, allocations: 33.7 kB / 1.215 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.4045, allocations: 368.4 kB / 1.215 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.4045, allocations: 94.64 kB / 1.216 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.4046, allocations: 29.7 kB / 1.216 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4047, allocations: 325.9 kB / 1.216 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.4053, allocations: 171.7 kB / 1.216 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.406, allocations: 229.8 kB / 1.216 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.4072, allocations: 401 kB / 1.217 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4072, allocations: 4 kB / 1.217 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003819/0.411, allocations: 0.7003 MB / 1.217 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4111, allocations: 4 kB / 1.217 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4111, allocations: 8.047 kB / 1.217 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/0.4121, allocations: 176.7 kB / 1.217 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.4124, allocations: 63.89 kB / 1.218 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/0.4199, allocations: 2.107 MB / 1.22 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.4203, allocations: 47.78 kB / 1.22 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.4204, allocations: 19.97 kB / 1.22 GB, free: 15.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003305/0.4207, allocations: 295.1 kB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.74e-05/0.4208, allocations: 82.95 kB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.4248, allocations: 0.7513 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.4248, allocations: 3.938 kB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4248, allocations: 8 kB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4249, allocations: 0 / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.4254, allocations: 0.5626 MB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.4255, allocations: 7.938 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.4257, allocations: 43.97 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009364/0.4267, allocations: 180.6 kB / 1.222 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.4267, allocations: 11.98 kB / 1.222 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/0.4336, allocations: 2.103 MB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4336, allocations: 0 / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.4376, allocations: 0.755 MB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.4378, allocations: 152 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.4378, allocations: 8 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.4383, allocations: 27.97 kB / 1.225 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.4384, allocations: 23.97 kB / 1.225 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.4384, allocations: 15.98 kB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001004/0.4394, allocations: 1.007 MB / 1.226 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.4395, allocations: 0 / 1.226 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004866/0.4399, allocations: 123.8 kB / 1.226 GB, free: 8.633 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005125/0.4451, allocations: 1.628 MB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.4468, allocations: 0.5455 MB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4468, allocations: 0 / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009325/0.4477, allocations: 358.5 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/0.4485, allocations: 121.3 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.4633, allocations: 6.722 MB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.4639, allocations: 0.9723 MB / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003631/0.4642, allocations: 82.91 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.4646, allocations: 267.3 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.4646, allocations: 0 / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.597/1.062, allocations: 16.87 MB / 1.253 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/1.062, allocations: 275.6 kB / 1.253 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/3.111, allocations: 0 / 1.253 GB, free: 189.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches