Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00128/0.00128, allocations: 200 kB / 16.26 MB, free: 6.625 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7116, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003074/0.7147, allocations: 2.25 MB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1638/0.8786, allocations: 148.4 MB / 1.096 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.8789, allocations: 4 kB / 1.096 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.88, allocations: 0.7641 MB / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.8812, allocations: 486.8 kB / 1.097 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.8828, allocations: 351.1 kB / 1.098 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.884, allocations: 0.5694 MB / 1.098 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.8843, allocations: 79.23 kB / 1.098 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.8867, allocations: 366.1 kB / 1.099 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008877/0.8876, allocations: 491.8 kB / 1.099 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.8877, allocations: 24 kB / 1.099 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009185/0.8887, allocations: 307.5 kB / 1.099 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.8889, allocations: 191.6 kB / 1.1 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.8892, allocations: 265.9 kB / 1.1 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.8904, allocations: 0.7337 MB / 1.101 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.8904, allocations: 3.938 kB / 1.101 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8904, allocations: 0 / 1.101 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.293e-05/0.8904, allocations: 0 / 1.101 GB, free: 6.301 MB / 0.8575 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.002021/0.8925, allocations: 1.065 MB / 1.102 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.8925, allocations: 16.03 kB / 1.102 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.8943, allocations: 194.8 kB / 1.102 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.895, allocations: 490.7 kB / 1.102 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.8951, allocations: 20.31 kB / 1.102 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.8951, allocations: 16 kB / 1.102 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.8961, allocations: 338.9 kB / 1.103 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8961, allocations: 0 / 1.103 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.8961, allocations: 8 kB / 1.103 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.8961, allocations: 4 kB / 1.103 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.8975, allocations: 344.6 kB / 1.103 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.8996, allocations: 1.109 MB / 1.104 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.9009, allocations: 395.1 kB / 1.105 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.9015, allocations: 217.5 kB / 1.105 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.9016, allocations: 11.97 kB / 1.105 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008358/0.9024, allocations: 316.7 kB / 1.105 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.9024, allocations: 0 / 1.105 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.009437/0.9119, allocations: 1.21 MB / 1.106 GB, free: 372 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.912, allocations: 89.05 kB / 1.106 GB, free: 264 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.9133, allocations: 1.337 MB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.9134, allocations: 37.69 kB / 1.108 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.9137, allocations: 360.5 kB / 1.108 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/0.9138, allocations: 102.6 kB / 1.108 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.9139, allocations: 61.67 kB / 1.108 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.914, allocations: 322 kB / 1.108 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.9146, allocations: 171.9 kB / 1.109 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.9153, allocations: 237.7 kB / 1.109 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.9166, allocations: 390 kB / 1.109 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9166, allocations: 0 / 1.109 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004164/0.9208, allocations: 0.7124 MB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.9208, allocations: 4 kB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.9209, allocations: 4 kB / 1.11 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.9219, allocations: 172.7 kB / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.9223, allocations: 63.91 kB / 1.11 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008232/0.9305, allocations: 2.307 MB / 1.112 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.931, allocations: 43.72 kB / 1.112 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.9311, allocations: 20.05 kB / 1.112 GB, free: 9.73 MB / 0.8731 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.0003659/0.9315, allocations: 291.3 kB / 1.113 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.9316, allocations: 82.91 kB / 1.113 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.9359, allocations: 0.7483 MB / 1.114 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9359, allocations: 4 kB / 1.114 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.9359, allocations: 0 / 1.114 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.9359, allocations: 4 kB / 1.114 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.9366, allocations: 0.5855 MB / 1.114 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9366, allocations: 0 / 1.114 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.9368, allocations: 47.91 kB / 1.114 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009703/0.9378, allocations: 180.6 kB / 1.114 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.9379, allocations: 11.98 kB / 1.114 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007785/0.9457, allocations: 2.295 MB / 1.117 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9457, allocations: 8 kB / 1.117 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/0.9498, allocations: 0.7473 MB / 1.117 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.9499, allocations: 144 kB / 1.117 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.95, allocations: 15.94 kB / 1.117 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.9505, allocations: 27.97 kB / 1.118 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.9506, allocations: 27.91 kB / 1.118 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.9507, allocations: 19.98 kB / 1.118 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001011/0.9517, allocations: 1.003 MB / 1.119 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9517, allocations: 0 / 1.119 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005317/0.9523, allocations: 107.9 kB / 1.119 GB, free: 3.152 MB / 0.8731 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.001027/0.9533, allocations: 448.6 kB / 1.119 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.9552, allocations: 0.5648 MB / 1.12 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9552, allocations: 0 / 1.12 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009524/0.9562, allocations: 362.7 kB / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.9569, allocations: 127.9 kB / 1.12 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.9595, allocations: 1.777 MB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.9601, allocations: 0.9684 MB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.9604, allocations: 82.91 kB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.9606, allocations: 47.41 kB / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of SimCode: time 9.42e-07/0.9606, allocations: 0 / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of Templates: time 0.0186/0.9792, allocations: 10.15 MB / 1.133 GB, free: 4.773 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches