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.001724/0.001724, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.002138/0.002138, allocations: 183 kB / 17.34 MB, free: 5.766 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 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.306/2.306, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.144, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003477/1.147, allocations: 2.199 MB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2043/1.352, allocations: 150.5 MB / 1.238 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/1.352, allocations: 6.188 kB / 1.238 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/1.354, allocations: 0.7819 MB / 1.239 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/1.355, allocations: 498.8 kB / 1.239 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/1.356, allocations: 416.7 kB / 1.239 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001072/1.357, allocations: 0.5597 MB / 1.24 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/1.358, allocations: 81.83 kB / 1.24 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/1.359, allocations: 366.9 kB / 1.24 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008225/1.36, allocations: 477.2 kB / 1.241 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/1.36, allocations: 22.09 kB / 1.241 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/1.361, allocations: 300.3 kB / 1.241 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/1.361, allocations: 187.8 kB / 1.241 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003593/1.362, allocations: 266 kB / 1.242 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/1.363, allocations: 0.7367 MB / 1.242 GB, free: 116 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.363, allocations: 1.156 kB / 1.242 GB, free: 116 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/1.363, allocations: 0 / 1.242 GB, free: 116 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.781e-05/1.364, allocations: 0 / 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.002508/1.366, allocations: 1.07 MB / 1.243 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.366, allocations: 8.625 kB / 1.243 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/1.368, allocations: 201.1 kB / 1.244 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/1.369, allocations: 494.7 kB / 1.244 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/1.369, allocations: 20.31 kB / 1.244 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/1.369, allocations: 19.98 kB / 1.244 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.37, allocations: 331.2 kB / 1.244 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.37, allocations: 4 kB / 1.244 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/1.37, allocations: 8 kB / 1.244 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.37, allocations: 4 kB / 1.244 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/1.371, allocations: 340.6 kB / 1.245 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/1.374, allocations: 1.105 MB / 1.246 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.375, allocations: 405.3 kB / 1.246 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/1.376, allocations: 201.5 kB / 1.246 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/1.376, allocations: 15.98 kB / 1.246 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008285/1.377, allocations: 302 kB / 1.247 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/1.377, allocations: 0 / 1.247 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008649/1.385, allocations: 1.222 MB / 1.248 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/1.385, allocations: 85.05 kB / 1.248 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/1.387, allocations: 1.341 MB / 1.249 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/1.387, allocations: 33.7 kB / 1.249 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/1.388, allocations: 368.4 kB / 1.25 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.388, allocations: 94.7 kB / 1.25 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.388, allocations: 65.67 kB / 1.25 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.388, allocations: 318 kB / 1.25 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/1.389, allocations: 171.9 kB / 1.25 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/1.389, allocations: 225.9 kB / 1.25 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.391, allocations: 406.4 kB / 1.251 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.391, allocations: 4 kB / 1.251 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003936/1.395, allocations: 0.7135 MB / 1.252 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.395, allocations: 6.188 kB / 1.252 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.395, allocations: 0 / 1.252 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/1.396, allocations: 180.7 kB / 1.252 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/1.396, allocations: 67.89 kB / 1.252 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007897/1.404, allocations: 2.309 MB / 1.254 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/1.405, allocations: 35.81 kB / 1.254 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/1.405, allocations: 15.98 kB / 1.254 GB, free: 3.812 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.0005248/1.405, allocations: 301.7 kB / 1.254 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/1.406, allocations: 82.91 kB / 1.254 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/1.41, allocations: 0.7583 MB / 1.255 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.41, allocations: 4 kB / 1.255 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.41, allocations: 0 / 1.255 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.41, allocations: 0 / 1.255 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008892/1.411, allocations: 0.5818 MB / 1.256 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.411, allocations: 0 / 1.256 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/1.411, allocations: 55.91 kB / 1.256 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009649/1.412, allocations: 172.7 kB / 1.256 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.412, allocations: 20.03 kB / 1.256 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007712/1.42, allocations: 2.291 MB / 1.258 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.42, allocations: 7.922 kB / 1.258 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/1.424, allocations: 0.7619 MB / 1.259 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/1.424, allocations: 148 kB / 1.259 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/1.424, allocations: 7.938 kB / 1.259 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/1.425, allocations: 27.97 kB / 1.259 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/1.425, allocations: 23.97 kB / 1.259 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/1.425, allocations: 19.98 kB / 1.259 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00132/1.426, allocations: 1.003 MB / 1.26 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.426, allocations: 0 / 1.26 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006041/1.427, allocations: 108 kB / 1.26 GB, free: 13.2 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.00113/1.428, allocations: 448 kB / 1.261 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001806/1.43, allocations: 0.5297 MB / 1.261 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.43, allocations: 0 / 1.261 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009483/1.431, allocations: 366.3 kB / 1.262 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/1.432, allocations: 127.4 kB / 1.262 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/1.435, allocations: 1.627 MB / 1.263 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/1.435, allocations: 0.9722 MB / 1.264 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/1.436, allocations: 43.42 kB / 1.264 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.436, allocations: 0 / 1.264 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.01743/1.453, allocations: 11.12 MB / 1.275 GB, free: 14.06 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