Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001202/0.001202, allocations: 103.8 kB / 16.37 MB, free: 6.441 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.001173/0.001173, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.207/2.207, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 64.78 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2462, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003205/0.2495, allocations: 2.223 MB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.5433/0.7928, allocations: 150.5 MB / 1.176 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.7929, allocations: 6.281 kB / 1.176 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.7937, allocations: 0.7795 MB / 1.177 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.7943, allocations: 495.9 kB / 1.177 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007506/0.7951, allocations: 402.7 kB / 1.178 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.7956, allocations: 0.5712 MB / 1.178 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.7957, allocations: 73.66 kB / 1.178 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008531/0.7966, allocations: 364.2 kB / 1.178 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.797, allocations: 480.1 kB / 1.179 GB, free: 8 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.7971, allocations: 27.81 kB / 1.179 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.7976, allocations: 302.8 kB / 1.179 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.7977, allocations: 180.9 kB / 1.179 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.7979, allocations: 270.1 kB / 1.18 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.7986, allocations: 0.7397 MB / 1.18 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7987, allocations: 1.188 kB / 1.18 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7987, allocations: 0 / 1.18 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.7987, allocations: 4 kB / 1.18 GB, free: 7.062 MB / 0.8887 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.001367/0.8, allocations: 1.063 MB / 1.181 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.536e-05/0.8001, allocations: 9.281 kB / 1.181 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.8015, allocations: 203.9 kB / 1.182 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.802, allocations: 492.9 kB / 1.182 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.8021, allocations: 20.14 kB / 1.182 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.8021, allocations: 21.31 kB / 1.182 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.8029, allocations: 330.6 kB / 1.182 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.803, allocations: 4.969 kB / 1.182 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.803, allocations: 6.156 kB / 1.182 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.803, allocations: 4.062 kB / 1.183 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.8042, allocations: 343.8 kB / 1.183 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.806, allocations: 1.112 MB / 1.184 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/0.807, allocations: 398.5 kB / 1.184 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.8077, allocations: 204.6 kB / 1.184 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.8077, allocations: 17.5 kB / 1.185 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007382/0.8085, allocations: 311.5 kB / 1.185 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.8085, allocations: 0 / 1.185 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.008136/0.8166, allocations: 1.218 MB / 1.186 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.8167, allocations: 80.05 kB / 1.186 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.8178, allocations: 1.341 MB / 1.187 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.8179, allocations: 33.83 kB / 1.187 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.8181, allocations: 364.6 kB / 1.188 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.8182, allocations: 96.41 kB / 1.188 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.8183, allocations: 62.42 kB / 1.188 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8184, allocations: 326.1 kB / 1.188 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.819, allocations: 166.5 kB / 1.188 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/0.8197, allocations: 243 kB / 1.189 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.8209, allocations: 392 kB / 1.189 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.8209, allocations: 7.875 kB / 1.189 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003632/0.8245, allocations: 0.7084 MB / 1.19 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8245, allocations: 6.312 kB / 1.19 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8246, allocations: 5.031 kB / 1.19 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009384/0.8255, allocations: 179.4 kB / 1.19 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.8258, allocations: 67.53 kB / 1.19 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007016/0.8328, allocations: 2.302 MB / 1.192 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.8333, allocations: 38.78 kB / 1.192 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.8333, allocations: 26.05 kB / 1.192 GB, free: 14.77 MB / 0.9044 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.0002615/0.8336, allocations: 288.5 kB / 1.193 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.8337, allocations: 83.41 kB / 1.193 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.8373, allocations: 0.7478 MB / 1.193 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.8373, allocations: 5.094 kB / 1.193 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8373, allocations: 0 / 1.193 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8374, allocations: 3.938 kB / 1.193 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.8379, allocations: 0.5789 MB / 1.194 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8379, allocations: 0 / 1.194 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.8381, allocations: 52.56 kB / 1.194 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008426/0.839, allocations: 175.8 kB / 1.194 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.839, allocations: 10.61 kB / 1.194 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006678/0.8457, allocations: 2.299 MB / 1.196 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.8457, allocations: 3.938 kB / 1.196 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/0.8493, allocations: 0.7613 MB / 1.197 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.8495, allocations: 147.7 kB / 1.197 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/0.8495, allocations: 10.53 kB / 1.197 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.8499, allocations: 24.84 kB / 1.197 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.85, allocations: 28.19 kB / 1.197 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.85, allocations: 19.05 kB / 1.197 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008852/0.8509, allocations: 1.007 MB / 1.198 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8509, allocations: 0 / 1.198 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004692/0.8514, allocations: 113 kB / 1.198 GB, free: 10.58 MB / 0.9044 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.0008886/0.8523, allocations: 434.8 kB / 1.199 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.8538, allocations: 0.5468 MB / 1.199 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8539, allocations: 4.062 kB / 1.199 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008405/0.8547, allocations: 358 kB / 1.2 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.8553, allocations: 122 kB / 1.2 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.8573, allocations: 1.583 MB / 1.201 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.8578, allocations: 0.9675 MB / 1.202 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002418/0.8581, allocations: 92.22 kB / 1.202 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.8582, allocations: 42.98 kB / 1.202 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8582, allocations: 0 / 1.202 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of Templates: time 0.01514/0.8733, allocations: 10.2 MB / 1.212 GB, free: 15.01 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches