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.001082/0.001082, allocations: 108 kB / 15.61 MB, free: 152 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.000985/0.0009849, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.288/2.288, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5478, 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.002862/0.5507, allocations: 2.198 MB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1465/0.6973, allocations: 150.6 MB / 1.099 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.6976, allocations: 7.938 kB / 1.099 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.6985, allocations: 0.7718 MB / 1.1 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007966/0.6993, allocations: 494.6 kB / 1.1 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.7004, allocations: 414 kB / 1.101 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.701, allocations: 0.5655 MB / 1.101 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.7012, allocations: 86.94 kB / 1.101 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.7023, allocations: 352.2 kB / 1.101 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.7028, allocations: 475.8 kB / 1.102 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.026e-05/0.7029, allocations: 24 kB / 1.102 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.7034, allocations: 303.6 kB / 1.102 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.7036, allocations: 187.7 kB / 1.102 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.7038, allocations: 261.9 kB / 1.103 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008259/0.7047, allocations: 0.724 MB / 1.103 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.7047, allocations: 0 / 1.103 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7047, allocations: 0 / 1.103 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7047, allocations: 0 / 1.103 GB, free: 3.914 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.001482/0.7062, allocations: 1.073 MB / 1.104 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.7062, allocations: 8.031 kB / 1.104 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.7063, allocations: 62.42 kB / 1.104 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.7079, allocations: 190.8 kB / 1.105 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.7084, allocations: 494.7 kB / 1.105 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.7084, allocations: 16.38 kB / 1.105 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.7085, allocations: 23.98 kB / 1.105 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.7094, allocations: 334.9 kB / 1.106 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.7094, allocations: 0 / 1.106 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.7094, allocations: 4 kB / 1.106 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7094, allocations: 7.938 kB / 1.106 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.7107, allocations: 344.6 kB / 1.106 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.7127, allocations: 1.105 MB / 1.107 GB, free: 108 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.7138, allocations: 405.3 kB / 1.107 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006456/0.7145, allocations: 205.6 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.7145, allocations: 15.92 kB / 1.108 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007958/0.7153, allocations: 313.2 kB / 1.108 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.7154, allocations: 0 / 1.108 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008653/0.724, allocations: 1.21 MB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.7241, allocations: 89.11 kB / 1.109 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.7253, allocations: 1.337 MB / 1.11 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.7254, allocations: 33.69 kB / 1.11 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.7256, allocations: 364.5 kB / 1.111 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.7257, allocations: 98.64 kB / 1.111 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.7259, allocations: 65.67 kB / 1.111 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.726, allocations: 321.9 kB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.7267, allocations: 175.9 kB / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.7274, allocations: 229.7 kB / 1.112 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.7287, allocations: 394.5 kB / 1.112 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7287, allocations: 4 kB / 1.112 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003878/0.7326, allocations: 0.7167 MB / 1.113 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7326, allocations: 8 kB / 1.113 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7326, allocations: 0 / 1.113 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.7336, allocations: 176.7 kB / 1.113 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.7339, allocations: 59.91 kB / 1.113 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/0.7415, allocations: 2.307 MB / 1.115 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.742, allocations: 39.72 kB / 1.115 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.7421, allocations: 15.98 kB / 1.115 GB, free: 7.273 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.0003517/0.7424, allocations: 298.7 kB / 1.116 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.7425, allocations: 86.89 kB / 1.116 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.7466, allocations: 0.7513 MB / 1.116 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.7467, allocations: 4 kB / 1.116 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.7467, allocations: 0 / 1.116 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.7467, allocations: 0 / 1.116 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.7472, allocations: 0.5855 MB / 1.117 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7473, allocations: 0 / 1.117 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.7475, allocations: 51.91 kB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009611/0.7485, allocations: 172.6 kB / 1.117 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.7486, allocations: 15.98 kB / 1.117 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007437/0.756, allocations: 2.295 MB / 1.119 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.756, allocations: 4.031 kB / 1.119 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.76, allocations: 0.7581 MB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.7601, allocations: 144 kB / 1.12 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.7602, allocations: 15.94 kB / 1.12 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.7606, allocations: 23.97 kB / 1.12 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.7607, allocations: 27.97 kB / 1.12 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.7607, allocations: 15.98 kB / 1.12 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008823/0.7616, allocations: 1.003 MB / 1.121 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7616, allocations: 0 / 1.121 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004516/0.7621, allocations: 107.9 kB / 1.121 GB, free: 0.6836 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.005171/0.7673, allocations: 1.636 MB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.769, allocations: 0.5841 MB / 1.124 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7691, allocations: 0 / 1.124 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009348/0.77, allocations: 358.5 kB / 1.124 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.7706, allocations: 128.3 kB / 1.124 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.7842, allocations: 6.564 MB / 1.13 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.7847, allocations: 0.9762 MB / 1.131 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.785, allocations: 82.92 kB / 1.132 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.7854, allocations: 263.3 kB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of SimCode: time 1.593e-06/0.7854, allocations: 0 / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.8236, allocations: 17.75 MB / 1.149 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.8, allocations: 3.859 kB / 1.149 GB, free: 4.414 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 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.csv","/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