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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_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.001371/0.001371, 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.001476/0.001476, allocations: 193.3 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.128/2.128, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.88 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.49, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002955/0.493, allocations: 2.199 MB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1331/0.6261, allocations: 150.6 MB / 1.099 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.6264, allocations: 7.938 kB / 1.099 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.6272, allocations: 0.7679 MB / 1.1 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006715/0.6279, allocations: 494.6 kB / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000952/0.6289, allocations: 409.8 kB / 1.101 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.6295, allocations: 0.5616 MB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.6297, allocations: 86.95 kB / 1.101 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.6307, allocations: 359 kB / 1.101 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.6312, allocations: 475.8 kB / 1.102 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.6313, allocations: 24 kB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005449/0.6318, allocations: 303.5 kB / 1.102 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.632, allocations: 183.7 kB / 1.102 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.6322, allocations: 265.9 kB / 1.103 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007755/0.633, allocations: 0.7202 MB / 1.103 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.633, allocations: 0 / 1.103 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.633, allocations: 0 / 1.103 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.633, allocations: 0 / 1.103 GB, free: 3.863 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.00147/0.6345, allocations: 1.072 MB / 1.104 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6346, allocations: 8.031 kB / 1.104 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.6346, allocations: 54.53 kB / 1.104 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.6361, allocations: 202.8 kB / 1.105 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.6366, allocations: 490.7 kB / 1.105 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.6366, allocations: 12.38 kB / 1.105 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.6367, allocations: 16 kB / 1.105 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.6375, allocations: 334.9 kB / 1.105 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.6375, allocations: 3.938 kB / 1.106 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.6376, allocations: 11.98 kB / 1.106 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.6376, allocations: 4 kB / 1.106 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.6388, allocations: 336.7 kB / 1.106 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.6407, allocations: 1.117 MB / 1.107 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.6417, allocations: 397.5 kB / 1.107 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.6424, allocations: 213.5 kB / 1.108 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.6424, allocations: 11.84 kB / 1.108 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007419/0.6432, allocations: 313.2 kB / 1.108 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.6432, allocations: 4 kB / 1.108 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008148/0.6513, allocations: 1.21 MB / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.6514, allocations: 89.09 kB / 1.109 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.6525, allocations: 1.337 MB / 1.11 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.6526, allocations: 33.7 kB / 1.11 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.6528, allocations: 368.4 kB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.6529, allocations: 98.64 kB / 1.111 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.653, allocations: 65.67 kB / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.6531, allocations: 321.9 kB / 1.111 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.6537, allocations: 167.9 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.6544, allocations: 237.7 kB / 1.112 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.6556, allocations: 398.3 kB / 1.112 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6556, allocations: 0 / 1.112 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003731/0.6593, allocations: 0.7085 MB / 1.113 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6594, allocations: 4 kB / 1.113 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.6594, allocations: 4 kB / 1.113 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009939/0.6604, allocations: 172.7 kB / 1.113 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.6607, allocations: 67.89 kB / 1.113 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/0.6679, allocations: 2.299 MB / 1.115 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.6684, allocations: 35.73 kB / 1.115 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.6684, allocations: 27.95 kB / 1.115 GB, free: 7.223 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.0002804/0.6687, allocations: 296 kB / 1.116 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.6688, allocations: 82.91 kB / 1.116 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.6727, allocations: 0.7513 MB / 1.116 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6727, allocations: 4 kB / 1.116 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6727, allocations: 3.984 kB / 1.116 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6728, allocations: 3.938 kB / 1.116 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.6733, allocations: 0.5816 MB / 1.117 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6733, allocations: 4 kB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.6736, allocations: 43.97 kB / 1.117 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009165/0.6745, allocations: 180.6 kB / 1.117 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.6745, allocations: 15.97 kB / 1.117 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007097/0.6816, allocations: 2.295 MB / 1.119 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6816, allocations: 0 / 1.119 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.6854, allocations: 0.7542 MB / 1.12 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.6855, allocations: 144 kB / 1.12 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/0.6855, allocations: 19.92 kB / 1.12 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.6859, allocations: 19.98 kB / 1.12 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.686, allocations: 27.97 kB / 1.12 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.6861, allocations: 19.97 kB / 1.12 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008475/0.6869, allocations: 0.9988 MB / 1.121 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6869, allocations: 0 / 1.121 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004107/0.6873, allocations: 115.9 kB / 1.121 GB, free: 0.6328 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.004846/0.6922, allocations: 1.638 MB / 1.123 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.6939, allocations: 0.577 MB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6939, allocations: 0 / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.6948, allocations: 358.5 kB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.6954, allocations: 129.2 kB / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.7085, allocations: 6.571 MB / 1.13 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.709, allocations: 0.9723 MB / 1.131 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.7093, allocations: 86.92 kB / 1.132 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.7096, allocations: 259.3 kB / 1.132 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of SimCode: time 3.2e-07/0.7096, allocations: 0 / 1.132 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.7479, allocations: 17.74 MB / 1.149 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.956/10.7, allocations: 14.45 kB / 1.149 GB, free: 4.363 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches