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.001636/0.001636, allocations: 104.5 kB / 16.41 MB, free: 6.512 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.001592/0.001592, allocations: 187 kB / 17.34 MB, free: 5.742 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.2 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.415/2.415, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 67.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.035, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003398/1.039, allocations: 2.202 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2001/1.239, allocations: 150.6 MB / 1.238 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/1.239, allocations: 2.25 kB / 1.238 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/1.24, allocations: 0.7859 MB / 1.239 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009567/1.241, allocations: 498.7 kB / 1.239 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/1.243, allocations: 397.8 kB / 1.239 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009424/1.244, allocations: 0.5723 MB / 1.24 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/1.244, allocations: 81.83 kB / 1.24 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/1.245, allocations: 373.3 kB / 1.24 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007438/1.246, allocations: 480.8 kB / 1.241 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/1.246, allocations: 22.25 kB / 1.241 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000797/1.247, allocations: 300 kB / 1.241 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/1.247, allocations: 185 kB / 1.241 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002806/1.248, allocations: 260.9 kB / 1.242 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/1.249, allocations: 0.7417 MB / 1.242 GB, free: 120 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.249, allocations: 0 / 1.242 GB, free: 120 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/1.249, allocations: 0 / 1.242 GB, free: 120 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.34e-05/1.249, allocations: 4 kB / 1.242 GB, free: 116 kB / 0.9669 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.002122/1.251, allocations: 1.074 MB / 1.243 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/1.251, allocations: 10.12 kB / 1.243 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/1.253, allocations: 196.8 kB / 1.244 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/1.253, allocations: 490.7 kB / 1.244 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/1.253, allocations: 16.38 kB / 1.244 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/1.253, allocations: 16 kB / 1.244 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009302/1.254, allocations: 339.1 kB / 1.244 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.254, allocations: 0 / 1.244 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/1.254, allocations: 8 kB / 1.244 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/1.255, allocations: 4 kB / 1.244 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/1.256, allocations: 340.6 kB / 1.245 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/1.258, allocations: 1.117 MB / 1.246 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.259, allocations: 397.4 kB / 1.246 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/1.26, allocations: 205.4 kB / 1.246 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/1.26, allocations: 19.98 kB / 1.246 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008672/1.261, allocations: 302 kB / 1.247 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/1.261, allocations: 0 / 1.247 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008585/1.27, allocations: 1.218 MB / 1.248 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/1.27, allocations: 81.11 kB / 1.248 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.271, allocations: 1.345 MB / 1.249 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/1.271, allocations: 33.7 kB / 1.249 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/1.272, allocations: 364.4 kB / 1.25 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/1.272, allocations: 94.7 kB / 1.25 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/1.272, allocations: 65.66 kB / 1.25 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.272, allocations: 326 kB / 1.25 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/1.273, allocations: 171.8 kB / 1.25 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/1.274, allocations: 225.9 kB / 1.25 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.275, allocations: 407.5 kB / 1.251 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/1.275, allocations: 4 kB / 1.251 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003936/1.279, allocations: 0.7057 MB / 1.252 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.279, allocations: 4 kB / 1.252 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.279, allocations: 0 / 1.252 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/1.28, allocations: 184.6 kB / 1.252 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/1.28, allocations: 63.89 kB / 1.252 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007879/1.288, allocations: 2.303 MB / 1.254 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/1.289, allocations: 35.81 kB / 1.254 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/1.289, allocations: 16.05 kB / 1.254 GB, free: 3.84 MB / 0.9825 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.0005391/1.29, allocations: 309.6 kB / 1.254 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/1.29, allocations: 82.91 kB / 1.254 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/1.294, allocations: 0.7544 MB / 1.255 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.294, allocations: 4 kB / 1.255 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.294, allocations: 0 / 1.255 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.294, allocations: 3.984 kB / 1.255 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/1.295, allocations: 0.5702 MB / 1.256 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.295, allocations: 4 kB / 1.256 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/1.295, allocations: 47.97 kB / 1.256 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009512/1.296, allocations: 180.6 kB / 1.256 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/1.296, allocations: 16.05 kB / 1.256 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/1.303, allocations: 2.291 MB / 1.258 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.304, allocations: 11.91 kB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/1.307, allocations: 0.7542 MB / 1.259 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/1.308, allocations: 144 kB / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/1.308, allocations: 7.938 kB / 1.259 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/1.308, allocations: 27.97 kB / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/1.308, allocations: 27.97 kB / 1.259 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/1.308, allocations: 15.98 kB / 1.259 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001178/1.31, allocations: 1.007 MB / 1.26 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.31, allocations: 0 / 1.26 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005392/1.31, allocations: 116 kB / 1.26 GB, free: 13.23 MB / 0.9981 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.001088/1.311, allocations: 450.1 kB / 1.261 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.313, allocations: 0.5297 MB / 1.261 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.313, allocations: 0 / 1.261 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009614/1.314, allocations: 374.3 kB / 1.262 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/1.315, allocations: 117.8 kB / 1.262 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/1.318, allocations: 1.637 MB / 1.263 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/1.318, allocations: 0.9683 MB / 1.264 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/1.318, allocations: 47.41 kB / 1.264 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.318, allocations: 0 / 1.264 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of Templates: time 0.01709/1.336, allocations: 11.13 MB / 1.275 GB, free: 14.07 MB / 1.014 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