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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_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.00179/0.00179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002035/0.002035, allocations: 193.8 kB / 16.14 MB, free: 6.648 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 55.91 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5134/0.5147, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003113/0.5179, allocations: 2.254 MB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1392/0.657, allocations: 148.3 MB / 1.164 GB, free: 11.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.6573, allocations: 4 kB / 1.164 GB, free: 11.72 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.6581, allocations: 0.7641 MB / 1.164 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006226/0.6588, allocations: 478.8 kB / 1.165 GB, free: 10.49 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.6597, allocations: 350.7 kB / 1.165 GB, free: 10.15 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.6603, allocations: 0.5536 MB / 1.166 GB, free: 9.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.6604, allocations: 74.97 kB / 1.166 GB, free: 9.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.6618, allocations: 341.7 kB / 1.166 GB, free: 9.195 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.6623, allocations: 471.6 kB / 1.167 GB, free: 8.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.6624, allocations: 16 kB / 1.167 GB, free: 8.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.6629, allocations: 291.6 kB / 1.167 GB, free: 8.434 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.6631, allocations: 183.6 kB / 1.167 GB, free: 8.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.6633, allocations: 249.9 kB / 1.167 GB, free: 8.008 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.6641, allocations: 0.7045 MB / 1.168 GB, free: 7.301 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6641, allocations: 0 / 1.168 GB, free: 7.301 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6641, allocations: 0 / 1.168 GB, free: 7.301 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6641, allocations: 0 / 1.168 GB, free: 7.301 MB / 0.92 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.001568/0.6657, allocations: 1.073 MB / 1.169 GB, free: 6.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6657, allocations: 8.031 kB / 1.169 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.6658, allocations: 54.55 kB / 1.169 GB, free: 6.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.6674, allocations: 198.8 kB / 1.169 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.6679, allocations: 494.6 kB / 1.17 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.668, allocations: 12.38 kB / 1.17 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.668, allocations: 20 kB / 1.17 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.669, allocations: 334.9 kB / 1.17 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.669, allocations: 0 / 1.17 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.6691, allocations: 12 kB / 1.17 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6691, allocations: 4 kB / 1.17 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.6704, allocations: 340.6 kB / 1.17 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.6724, allocations: 1.109 MB / 1.172 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.6736, allocations: 405.4 kB / 1.172 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.6743, allocations: 213.5 kB / 1.172 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.6743, allocations: 11.94 kB / 1.172 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008374/0.6752, allocations: 300.8 kB / 1.172 GB, free: 2.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.6752, allocations: 0 / 1.172 GB, free: 2.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.00934/0.6845, allocations: 1.214 MB / 1.174 GB, free: 1.301 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.6846, allocations: 85.11 kB / 1.174 GB, free: 1.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.6858, allocations: 1.341 MB / 1.175 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.6859, allocations: 41.64 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.6861, allocations: 360.5 kB / 1.175 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.582e-05/0.6862, allocations: 102.6 kB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.6864, allocations: 65.67 kB / 1.176 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6865, allocations: 321.9 kB / 1.176 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.6872, allocations: 171.9 kB / 1.176 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.6879, allocations: 230.8 kB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.6892, allocations: 408 kB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6892, allocations: 0 / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004201/0.6934, allocations: 0.7079 MB / 1.177 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6935, allocations: 4 kB / 1.177 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6935, allocations: 4 kB / 1.177 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.6945, allocations: 176.7 kB / 1.178 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.6949, allocations: 63.89 kB / 1.178 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007601/0.7025, allocations: 2.122 MB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.703, allocations: 35.81 kB / 1.18 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.703, allocations: 24.05 kB / 1.18 GB, free: 10.84 MB / 0.9356 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.0003043/0.7033, allocations: 290.2 kB / 1.18 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.7035, allocations: 78.97 kB / 1.18 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/0.7077, allocations: 0.76 MB / 1.181 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7078, allocations: 4 kB / 1.181 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.7078, allocations: 0 / 1.181 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7078, allocations: 0 / 1.181 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.7083, allocations: 0.5854 MB / 1.181 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7084, allocations: 4.062 kB / 1.181 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.7086, allocations: 51.91 kB / 1.181 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009733/0.7096, allocations: 184.6 kB / 1.182 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.7097, allocations: 11.98 kB / 1.182 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007264/0.7169, allocations: 2.107 MB / 1.184 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.717, allocations: 8 kB / 1.184 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.7209, allocations: 0.7589 MB / 1.184 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.881e-05/0.721, allocations: 144 kB / 1.185 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.7211, allocations: 8 kB / 1.185 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.7215, allocations: 27.97 kB / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.7216, allocations: 23.97 kB / 1.185 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.7217, allocations: 27.91 kB / 1.185 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008963/0.7226, allocations: 0.9988 MB / 1.186 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7226, allocations: 0 / 1.186 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004377/0.723, allocations: 115.9 kB / 1.186 GB, free: 4.438 MB / 0.9356 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.005095/0.7281, allocations: 1.63 MB / 1.187 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.7298, allocations: 0.5504 MB / 1.188 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7298, allocations: 0 / 1.188 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009271/0.7307, allocations: 359.2 kB / 1.188 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.7313, allocations: 111.2 kB / 1.188 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.7459, allocations: 6.694 MB / 1.195 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.7464, allocations: 0.9684 MB / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003497/0.7468, allocations: 90.89 kB / 1.196 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.7471, allocations: 267.3 kB / 1.196 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of SimCode: time 4.2e-07/0.7471, allocations: 0 / 1.196 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.7769, allocations: 17.26 MB / 1.213 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.7772, allocations: 266.9 kB / 1.213 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.752, allocations: 0 / 1.213 GB, free: 8.238 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches