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.002051/0.002051, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002321/0.002321, allocations: 191.5 kB / 16.25 MB, free: 6.641 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.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.394/2.394, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 63.91 kB / 0.8688 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5126, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002976/0.5156, allocations: 2.255 MB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1229/0.6385, allocations: 148.4 MB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.6387, allocations: 7.938 kB / 1.164 GB, free: 11.54 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007787/0.6395, allocations: 0.768 MB / 1.165 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000623/0.6402, allocations: 470.9 kB / 1.165 GB, free: 10.31 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.6411, allocations: 370.9 kB / 1.166 GB, free: 9.953 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.6416, allocations: 0.5731 MB / 1.166 GB, free: 9.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.6418, allocations: 78.95 kB / 1.166 GB, free: 9.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.6431, allocations: 358.6 kB / 1.167 GB, free: 8.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004557/0.6436, allocations: 499.6 kB / 1.167 GB, free: 8.473 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.6437, allocations: 24 kB / 1.167 GB, free: 8.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.6442, allocations: 307.5 kB / 1.167 GB, free: 8.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.6443, allocations: 191.7 kB / 1.168 GB, free: 7.961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.6445, allocations: 265.9 kB / 1.168 GB, free: 7.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.6451, allocations: 0.7241 MB / 1.168 GB, free: 6.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6451, allocations: 0 / 1.168 GB, free: 6.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6451, allocations: 0 / 1.168 GB, free: 6.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.6451, allocations: 0 / 1.168 GB, free: 6.973 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.001312/0.6465, allocations: 1.084 MB / 1.17 GB, free: 5.836 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.6465, allocations: 12.03 kB / 1.17 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.6466, allocations: 50.55 kB / 1.17 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.6481, allocations: 194.8 kB / 1.17 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.6485, allocations: 490.7 kB / 1.17 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.6486, allocations: 12.38 kB / 1.17 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.6486, allocations: 20 kB / 1.17 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/0.6495, allocations: 342.8 kB / 1.171 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6495, allocations: 0 / 1.171 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.6495, allocations: 4 kB / 1.171 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.6495, allocations: 7.984 kB / 1.171 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.6507, allocations: 344.6 kB / 1.171 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.6525, allocations: 1.112 MB / 1.172 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.6535, allocations: 401.4 kB / 1.172 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.6542, allocations: 201.6 kB / 1.173 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.6542, allocations: 19.86 kB / 1.173 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007507/0.655, allocations: 304.8 kB / 1.173 GB, free: 2.203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.655, allocations: 0 / 1.173 GB, free: 2.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.008823/0.6638, allocations: 1.218 MB / 1.174 GB, free: 0.957 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6639, allocations: 81.11 kB / 1.174 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.6649, allocations: 1.341 MB / 1.175 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.665, allocations: 29.7 kB / 1.176 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.6652, allocations: 372.4 kB / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/0.6653, allocations: 94.64 kB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.6654, allocations: 65.67 kB / 1.176 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.6655, allocations: 325.8 kB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.6661, allocations: 171.9 kB / 1.176 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.6668, allocations: 227.1 kB / 1.177 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.668, allocations: 399.8 kB / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.668, allocations: 0 / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003871/0.6719, allocations: 0.7157 MB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6719, allocations: 8 kB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.6719, allocations: 0 / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009794/0.6729, allocations: 172.7 kB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.6732, allocations: 64.2 kB / 1.178 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/0.6949, allocations: 2.32 MB / 1.18 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.6954, allocations: 35.81 kB / 1.18 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.6955, allocations: 15.98 kB / 1.18 GB, free: 10.32 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.0003266/0.6958, allocations: 299 kB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6959, allocations: 86.84 kB / 1.181 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/0.7, allocations: 0.7556 MB / 1.181 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.7, allocations: 4 kB / 1.181 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.7, allocations: 0 / 1.181 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.7, allocations: 0 / 1.181 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.7005, allocations: 0.5815 MB / 1.182 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7005, allocations: 0 / 1.182 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.7008, allocations: 43.97 kB / 1.182 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009164/0.7017, allocations: 184.6 kB / 1.182 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.7018, allocations: 15.97 kB / 1.182 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0071/0.7089, allocations: 2.287 MB / 1.184 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.7089, allocations: 11.95 kB / 1.184 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.7127, allocations: 0.751 MB / 1.185 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.7128, allocations: 152 kB / 1.185 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.7129, allocations: 11.94 kB / 1.185 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.7133, allocations: 27.97 kB / 1.185 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.7134, allocations: 23.97 kB / 1.185 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.7135, allocations: 19.92 kB / 1.185 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008134/0.7143, allocations: 1.003 MB / 1.186 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7143, allocations: 0 / 1.186 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003954/0.7147, allocations: 115.9 kB / 1.187 GB, free: 3.723 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.005023/0.7197, allocations: 1.637 MB / 1.188 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.7213, allocations: 0.5749 MB / 1.189 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7213, allocations: 0 / 1.189 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008684/0.7222, allocations: 362.8 kB / 1.189 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.7228, allocations: 137.4 kB / 1.189 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.7362, allocations: 6.701 MB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.7366, allocations: 0.9762 MB / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003129/0.7369, allocations: 94.89 kB / 1.197 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.7372, allocations: 263.3 kB / 1.197 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7372, allocations: 0 / 1.197 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.716/3.453, allocations: 17.61 MB / 1.214 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/3.453, allocations: 263.1 kB / 1.214 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/6.226, allocations: 3.938 kB / 1.214 GB, free: 7.105 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