Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007471/0.007471, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001756/0.001757, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 55.91 kB / 1.018 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.416, allocations: 151.6 MB / 1.167 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.005042/0.4211, allocations: 2.202 MB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8514/1.273, allocations: 150.5 MB / 1.316 GB, free: 12.56 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/1.273, allocations: 7.031 kB / 1.316 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/1.274, allocations: 0.7686 MB / 1.316 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/1.275, allocations: 496.9 kB / 1.317 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/1.277, allocations: 402.9 kB / 1.317 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009711/1.278, allocations: 0.565 MB / 1.318 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/1.278, allocations: 83.97 kB / 1.318 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/1.28, allocations: 368 kB / 1.318 GB, free: 12.26 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/1.28, allocations: 475.6 kB / 1.319 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/1.28, allocations: 22.75 kB / 1.319 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008928/1.281, allocations: 304.4 kB / 1.319 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/1.282, allocations: 185.4 kB / 1.319 GB, free: 12.17 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002668/1.282, allocations: 265.2 kB / 1.32 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/1.283, allocations: 0.7385 MB / 1.32 GB, free: 11.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.283, allocations: 3.938 kB / 1.32 GB, free: 11.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/1.283, allocations: 0 / 1.32 GB, free: 11.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.122e-05/1.283, allocations: 1.25 kB / 1.32 GB, free: 11.88 MB / 1.014 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.001821/1.285, allocations: 1.1 MB / 1.321 GB, free: 11.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.285, allocations: 9.469 kB / 1.321 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/1.287, allocations: 197.2 kB / 1.322 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/1.287, allocations: 0.4948 MB / 1.322 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/1.287, allocations: 20.28 kB / 1.322 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/1.287, allocations: 15.88 kB / 1.322 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/1.288, allocations: 330.9 kB / 1.322 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.288, allocations: 11.81 kB / 1.322 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/1.289, allocations: 9.859 kB / 1.322 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.289, allocations: 4.562 kB / 1.322 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/1.29, allocations: 341 kB / 1.323 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/1.292, allocations: 1.114 MB / 1.324 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/1.293, allocations: 402.5 kB / 1.324 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/1.294, allocations: 204.6 kB / 1.324 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/1.294, allocations: 13.97 kB / 1.324 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008611/1.295, allocations: 310.4 kB / 1.325 GB, free: 9.941 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/1.295, allocations: 0 / 1.325 GB, free: 9.941 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.008852/1.304, allocations: 1.226 MB / 1.326 GB, free: 9.539 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/1.304, allocations: 82.3 kB / 1.326 GB, free: 9.445 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/1.305, allocations: 1.35 MB / 1.327 GB, free: 8.992 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/1.305, allocations: 33.3 kB / 1.327 GB, free: 8.957 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/1.306, allocations: 364.3 kB / 1.328 GB, free: 8.668 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/1.306, allocations: 103.1 kB / 1.328 GB, free: 8.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/1.306, allocations: 64.77 kB / 1.328 GB, free: 8.559 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.306, allocations: 321.8 kB / 1.328 GB, free: 8.246 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/1.307, allocations: 173.9 kB / 1.328 GB, free: 8.191 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/1.307, allocations: 228.9 kB / 1.329 GB, free: 8.078 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/1.309, allocations: 394 kB / 1.329 GB, free: 7.906 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/1.309, allocations: 5.062 kB / 1.329 GB, free: 7.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003975/1.313, allocations: 0.7267 MB / 1.33 GB, free: 7.652 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.313, allocations: 7.984 kB / 1.33 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.313, allocations: 1.875 kB / 1.33 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.314, allocations: 172 kB / 1.33 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/1.314, allocations: 64.97 kB / 1.33 GB, free: 7.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007656/1.322, allocations: 2.305 MB / 1.332 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/1.323, allocations: 35.88 kB / 1.332 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/1.323, allocations: 16.98 kB / 1.332 GB, free: 6.016 MB / 1.014 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.0004938/1.323, allocations: 300 kB / 1.332 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/1.323, allocations: 91.47 kB / 1.333 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/1.327, allocations: 0.7601 MB / 1.333 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.328, allocations: 3.781 kB / 1.333 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.328, allocations: 1.5 kB / 1.333 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.328, allocations: 1.922 kB / 1.333 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000813/1.328, allocations: 0.5678 MB / 1.334 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.328, allocations: 1.156 kB / 1.334 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/1.329, allocations: 52.95 kB / 1.334 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009872/1.33, allocations: 177.8 kB / 1.334 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/1.33, allocations: 13.06 kB / 1.334 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007555/1.337, allocations: 2.294 MB / 1.336 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.337, allocations: 5.094 kB / 1.336 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/1.342, allocations: 0.7618 MB / 1.337 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/1.342, allocations: 148 kB / 1.337 GB, free: 3.176 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.342, allocations: 11.56 kB / 1.337 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/1.343, allocations: 29.41 kB / 1.337 GB, free: 3.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.343, allocations: 27.91 kB / 1.337 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/1.343, allocations: 18.73 kB / 1.337 GB, free: 3.148 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001517/1.344, allocations: 1.001 MB / 1.338 GB, free: 2.805 MB / 1.014 GB Notification: Performance of sort global known variables: time 3e-07/1.344, allocations: 0 / 1.338 GB, free: 2.805 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009946/1.345, allocations: 115.5 kB / 1.338 GB, free: 2.785 MB / 1.014 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.001299/1.347, allocations: 448.9 kB / 1.339 GB, free: 2.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002017/1.349, allocations: 0.539 MB / 1.339 GB, free: 2.355 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.349, allocations: 0 / 1.339 GB, free: 2.355 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009987/1.35, allocations: 361.9 kB / 1.34 GB, free: 2.176 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/1.35, allocations: 126.2 kB / 1.34 GB, free: 2.129 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/1.353, allocations: 1.596 MB / 1.341 GB, free: 1.461 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/1.354, allocations: 0.9662 MB / 1.342 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003549/1.354, allocations: 91.81 kB / 1.342 GB, free: 0.707 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/1.355, allocations: 42.86 kB / 1.342 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.355, allocations: 0 / 1.342 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of Templates: time 0.01989/1.374, allocations: 10.25 MB / 1.352 GB, free: 12.65 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches