Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_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.001287/0.001286, 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.001188/0.001188, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 64.05 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5466, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003242/0.5498, allocations: 2.192 MB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.6936, allocations: 150.6 MB / 1.167 GB, free: 9.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.6938, allocations: 7.938 kB / 1.167 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007968/0.6947, allocations: 0.7756 MB / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005774/0.6952, allocations: 490.7 kB / 1.168 GB, free: 7.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.696, allocations: 410.3 kB / 1.168 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.6965, allocations: 0.5692 MB / 1.169 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.6967, allocations: 82.95 kB / 1.169 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008877/0.6976, allocations: 356 kB / 1.169 GB, free: 6.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.698, allocations: 479.7 kB / 1.17 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.6981, allocations: 27.94 kB / 1.17 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.6986, allocations: 303.5 kB / 1.17 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.6987, allocations: 183.7 kB / 1.17 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.6989, allocations: 269.9 kB / 1.17 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000717/0.6996, allocations: 0.7241 MB / 1.171 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6996, allocations: 0 / 1.171 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6996, allocations: 0 / 1.171 GB, free: 4.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.6997, allocations: 0 / 1.171 GB, free: 4.488 MB / 0.92 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.00162/0.7013, allocations: 1.072 MB / 1.172 GB, free: 3.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.7013, allocations: 8.031 kB / 1.172 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.7014, allocations: 58.53 kB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.7029, allocations: 190.8 kB / 1.172 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/0.7035, allocations: 490.7 kB / 1.173 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.7035, allocations: 16.38 kB / 1.173 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.7036, allocations: 20 kB / 1.173 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/0.7045, allocations: 338.9 kB / 1.173 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7045, allocations: 0 / 1.173 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.7045, allocations: 11.98 kB / 1.173 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.7045, allocations: 4 kB / 1.173 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.7057, allocations: 336.7 kB / 1.174 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.7076, allocations: 1.116 MB / 1.175 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.7087, allocations: 399.4 kB / 1.175 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.7093, allocations: 205.6 kB / 1.175 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.7094, allocations: 11.94 kB / 1.175 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000765/0.7101, allocations: 305.3 kB / 1.176 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.452e-06/0.7101, allocations: 0 / 1.176 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008235/0.7184, allocations: 1.221 MB / 1.177 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.7184, allocations: 81.09 kB / 1.177 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.7196, allocations: 1.345 MB / 1.178 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.7196, allocations: 33.7 kB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.7199, allocations: 368.4 kB / 1.178 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.72, allocations: 98.64 kB / 1.179 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.7201, allocations: 61.67 kB / 1.179 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.7202, allocations: 321.9 kB / 1.179 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.7208, allocations: 179.8 kB / 1.179 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.7214, allocations: 223.1 kB / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.7227, allocations: 400.1 kB / 1.18 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7227, allocations: 4 kB / 1.18 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003692/0.7264, allocations: 0.7141 MB / 1.18 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7264, allocations: 11.94 kB / 1.18 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7264, allocations: 3.984 kB / 1.18 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009558/0.7274, allocations: 176.7 kB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.7277, allocations: 59.89 kB / 1.181 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007167/0.7349, allocations: 2.312 MB / 1.183 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.7353, allocations: 35.86 kB / 1.183 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.7354, allocations: 19.91 kB / 1.183 GB, free: 7.844 MB / 0.9356 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.0002931/0.7357, allocations: 298.7 kB / 1.183 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.7358, allocations: 86.91 kB / 1.183 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.7396, allocations: 0.7488 MB / 1.184 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.7396, allocations: 4 kB / 1.184 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7396, allocations: 3.984 kB / 1.184 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7397, allocations: 0 / 1.184 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.7402, allocations: 0.5737 MB / 1.185 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.7402, allocations: 7.984 kB / 1.185 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.7405, allocations: 43.98 kB / 1.185 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000911/0.7414, allocations: 180.6 kB / 1.185 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.7414, allocations: 19.97 kB / 1.185 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006984/0.7484, allocations: 2.291 MB / 1.187 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7485, allocations: 0 / 1.187 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/0.7521, allocations: 0.7659 MB / 1.188 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.7522, allocations: 144 kB / 1.188 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.7523, allocations: 15.92 kB / 1.188 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.7527, allocations: 23.98 kB / 1.188 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.7528, allocations: 23.97 kB / 1.188 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.7529, allocations: 23.91 kB / 1.188 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008856/0.7538, allocations: 0.9988 MB / 1.189 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7538, allocations: 3.938 kB / 1.189 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004467/0.7542, allocations: 115.9 kB / 1.189 GB, free: 1.246 MB / 0.9356 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.004847/0.7591, allocations: 1.631 MB / 1.191 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.7608, allocations: 0.5726 MB / 1.191 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7609, allocations: 0 / 1.191 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009013/0.7618, allocations: 359.2 kB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.7624, allocations: 124.3 kB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.7759, allocations: 6.553 MB / 1.198 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.7764, allocations: 0.9761 MB / 1.199 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.7768, allocations: 94.83 kB / 1.199 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.7771, allocations: 267.3 kB / 1.199 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.7771, allocations: 0 / 1.199 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7637/1.541, allocations: 17.74 MB / 1.217 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.47, allocations: 0 / 1.217 GB, free: 4.996 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches