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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001699/0.001699, allocations: 101.6 kB / 16.35 MB, free: 5.875 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.00231/0.00231, allocations: 199.1 kB / 17.3 MB, free: 5.516 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.33 kB / 0.814 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2538, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00447/0.2583, allocations: 2.208 MB / 0.9533 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.641/0.8993, allocations: 150.5 MB / 1.1 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.8996, allocations: 8.734 kB / 1.1 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.9007, allocations: 0.771 MB / 1.101 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008397/0.9016, allocations: 499.8 kB / 1.102 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.9028, allocations: 398.3 kB / 1.102 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008179/0.9036, allocations: 0.5675 MB / 1.102 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.9038, allocations: 83.56 kB / 1.103 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.9049, allocations: 363 kB / 1.103 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.9055, allocations: 477.5 kB / 1.103 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.9056, allocations: 27.75 kB / 1.103 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007022/0.9063, allocations: 299.7 kB / 1.104 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.9065, allocations: 185.2 kB / 1.104 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.9068, allocations: 266.2 kB / 1.104 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009814/0.9078, allocations: 0.7426 MB / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9078, allocations: 0 / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9078, allocations: 1.125 kB / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.9078, allocations: 0 / 1.105 GB, free: 5.707 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.001794/0.9096, allocations: 1.073 MB / 1.106 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.9096, allocations: 10.67 kB / 1.106 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.9112, allocations: 196.5 kB / 1.106 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.9119, allocations: 497.3 kB / 1.107 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.9119, allocations: 16.16 kB / 1.107 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.912, allocations: 17.67 kB / 1.107 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009893/0.9129, allocations: 334.5 kB / 1.107 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.913, allocations: 4.688 kB / 1.107 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.913, allocations: 8.062 kB / 1.107 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.913, allocations: 8.469 kB / 1.107 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.9144, allocations: 336.5 kB / 1.107 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.9168, allocations: 1.107 MB / 1.108 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.9179, allocations: 396.8 kB / 1.109 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.9186, allocations: 208.8 kB / 1.109 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.9186, allocations: 8.625 kB / 1.109 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008246/0.9195, allocations: 313.5 kB / 1.109 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.9195, allocations: 4 kB / 1.109 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.009014/0.9285, allocations: 1.213 MB / 1.11 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.9286, allocations: 80.95 kB / 1.11 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.9304, allocations: 1.344 MB / 1.112 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.495e-05/0.9305, allocations: 31.39 kB / 1.112 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.9308, allocations: 368.1 kB / 1.112 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/0.9309, allocations: 96.38 kB / 1.112 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.931, allocations: 68.14 kB / 1.112 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9312, allocations: 318 kB / 1.113 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/0.9318, allocations: 176.2 kB / 1.113 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.9325, allocations: 237.2 kB / 1.113 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.9338, allocations: 395.4 kB / 1.113 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.9338, allocations: 9.281 kB / 1.113 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004104/0.9379, allocations: 0.7055 MB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.9379, allocations: 6.047 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.938, allocations: 1.562 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.939, allocations: 176.9 kB / 1.114 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.9394, allocations: 63.86 kB / 1.114 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/0.9473, allocations: 2.299 MB / 1.117 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/0.9481, allocations: 44.56 kB / 1.117 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.9482, allocations: 13.83 kB / 1.117 GB, free: 17.29 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.0006354/0.9488, allocations: 297.8 kB / 1.117 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.949, allocations: 88.22 kB / 1.117 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.953, allocations: 0.7441 MB / 1.118 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.9531, allocations: 3.688 kB / 1.118 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.9531, allocations: 0.6875 kB / 1.118 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.9531, allocations: 4.172 kB / 1.118 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.9538, allocations: 0.5788 MB / 1.118 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9538, allocations: 2.344 kB / 1.118 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.9542, allocations: 48.94 kB / 1.118 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009528/0.9551, allocations: 177.2 kB / 1.118 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.9552, allocations: 17.06 kB / 1.119 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007743/0.9629, allocations: 2.291 MB / 1.121 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.963, allocations: 5.5 kB / 1.121 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.967, allocations: 0.7551 MB / 1.121 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.9673, allocations: 153.8 kB / 1.122 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.9674, allocations: 14.22 kB / 1.122 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.9678, allocations: 27.78 kB / 1.122 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.9679, allocations: 22.67 kB / 1.122 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.968, allocations: 17.02 kB / 1.122 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001174/0.9692, allocations: 0.9979 MB / 1.123 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9692, allocations: 4 kB / 1.123 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006147/0.9698, allocations: 114.8 kB / 1.123 GB, free: 15.02 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.001017/0.9708, allocations: 441.7 kB / 1.123 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.9726, allocations: 0.548 MB / 1.124 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.9726, allocations: 0 / 1.124 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009354/0.9735, allocations: 361.8 kB / 1.124 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.9742, allocations: 126.8 kB / 1.124 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.977, allocations: 1.583 MB / 1.126 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.9776, allocations: 0.9663 MB / 1.127 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003495/0.9779, allocations: 87.14 kB / 1.127 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.9781, allocations: 41.66 kB / 1.127 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.9781, allocations: 1.344 kB / 1.127 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.0201/0.9982, allocations: 10.22 MB / 1.137 GB, free: 12.79 MB / 0.8731 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 -s gbode -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/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