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.001354/0.001354, allocations: 105.5 kB / 16.27 MB, free: 6.41 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.001396/0.001396, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.604/2.604, allocations: 390.2 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 65.7 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3134, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004023/0.3175, allocations: 2.205 MB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7633/1.081, allocations: 150.5 MB / 1.099 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/1.081, allocations: 7.594 kB / 1.099 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/1.082, allocations: 0.7773 MB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/1.084, allocations: 496.4 kB / 1.101 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/1.085, allocations: 394.5 kB / 1.101 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001099/1.086, allocations: 0.5643 MB / 1.102 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/1.087, allocations: 85.78 kB / 1.102 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/1.088, allocations: 358.6 kB / 1.102 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007084/1.089, allocations: 473.7 kB / 1.102 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.206e-05/1.089, allocations: 27.38 kB / 1.102 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009253/1.09, allocations: 303.4 kB / 1.103 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/1.09, allocations: 192.5 kB / 1.103 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/1.09, allocations: 260.7 kB / 1.103 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/1.092, allocations: 0.7248 MB / 1.104 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.092, allocations: 0.625 kB / 1.104 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.704e-06/1.092, allocations: 1.797 kB / 1.104 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.092, allocations: 0 / 1.104 GB, free: 5.094 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.001915/1.094, allocations: 1.075 MB / 1.105 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.094, allocations: 9.688 kB / 1.105 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/1.095, allocations: 196.8 kB / 1.105 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/1.096, allocations: 493.1 kB / 1.106 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/1.096, allocations: 16.94 kB / 1.106 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/1.096, allocations: 19.53 kB / 1.106 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.097, allocations: 327.5 kB / 1.106 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.097, allocations: 3.938 kB / 1.106 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/1.097, allocations: 9.25 kB / 1.106 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/1.097, allocations: 4.781 kB / 1.106 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/1.098, allocations: 340.3 kB / 1.106 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/1.101, allocations: 1.107 MB / 1.107 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.102, allocations: 406.9 kB / 1.108 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/1.103, allocations: 208.3 kB / 1.108 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/1.103, allocations: 6.922 kB / 1.108 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008549/1.104, allocations: 317.5 kB / 1.108 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.896e-06/1.104, allocations: 4 kB / 1.108 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008788/1.113, allocations: 1.213 MB / 1.109 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/1.113, allocations: 82.73 kB / 1.11 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/1.115, allocations: 1.344 MB / 1.111 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/1.115, allocations: 36.11 kB / 1.111 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/1.115, allocations: 362.4 kB / 1.111 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/1.115, allocations: 97.38 kB / 1.111 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.115, allocations: 65.19 kB / 1.111 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.116, allocations: 319.6 kB / 1.112 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/1.116, allocations: 171.3 kB / 1.112 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/1.117, allocations: 234.8 kB / 1.112 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/1.118, allocations: 392 kB / 1.112 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.118, allocations: 5.141 kB / 1.112 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003994/1.122, allocations: 0.7153 MB / 1.113 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.122, allocations: 5.219 kB / 1.113 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.122, allocations: 5.281 kB / 1.113 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.123, allocations: 176.2 kB / 1.113 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/1.124, allocations: 64.3 kB / 1.113 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007688/1.131, allocations: 2.299 MB / 1.116 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/1.132, allocations: 40.09 kB / 1.116 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/1.132, allocations: 14.67 kB / 1.116 GB, free: 16.68 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.0006663/1.133, allocations: 306.8 kB / 1.116 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/1.133, allocations: 85.16 kB / 1.116 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/1.137, allocations: 0.7447 MB / 1.117 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.137, allocations: 2.938 kB / 1.117 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.137, allocations: 2.875 kB / 1.117 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.137, allocations: 2.438 kB / 1.117 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/1.138, allocations: 0.5796 MB / 1.117 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.138, allocations: 1.219 kB / 1.117 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/1.138, allocations: 53.33 kB / 1.117 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009501/1.139, allocations: 176.5 kB / 1.118 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/1.139, allocations: 15.98 kB / 1.118 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007548/1.147, allocations: 2.278 MB / 1.12 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.147, allocations: 8.547 kB / 1.12 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/1.151, allocations: 0.7626 MB / 1.121 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/1.151, allocations: 150.2 kB / 1.121 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.151, allocations: 11.75 kB / 1.121 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/1.152, allocations: 23.38 kB / 1.121 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/1.152, allocations: 24.83 kB / 1.121 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/1.152, allocations: 22.39 kB / 1.121 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00117/1.153, allocations: 1.004 MB / 1.122 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.153, allocations: 0 / 1.122 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006375/1.154, allocations: 114.3 kB / 1.122 GB, free: 14.41 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.001043/1.155, allocations: 445.4 kB / 1.122 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001871/1.157, allocations: 0.5682 MB / 1.123 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.157, allocations: 0 / 1.123 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/1.158, allocations: 364.5 kB / 1.123 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/1.158, allocations: 123.8 kB / 1.123 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/1.161, allocations: 1.657 MB / 1.125 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/1.162, allocations: 0.971 MB / 1.126 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/1.162, allocations: 43.8 kB / 1.126 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of SimCode: time 6.22e-07/1.162, allocations: 1.203 kB / 1.126 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.01872/1.181, allocations: 11.1 MB / 1.137 GB, free: 11.1 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 -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