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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9255/0.9255, allocations: 177.1 MB / 203.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.782/1.782, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.146e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002452/0.002474, allocations: 2.137 MB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5703/0.5728, allocations: 132.4 MB / 1.132 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.573, allocations: 7.281 kB / 1.132 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008877/0.5738, allocations: 0.7914 MB / 1.133 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006913/0.5745, allocations: 0.5268 MB / 1.134 GB, free: 496 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.5751, allocations: 341.5 kB / 1.134 GB, free: 320 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.5757, allocations: 0.5992 MB / 1.134 GB, free: 100 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.5758, allocations: 55.52 kB / 1.134 GB, free: 72 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.5768, allocations: 431.3 kB / 1.135 GB, free: 15.96 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.5774, allocations: 0.4948 MB / 1.135 GB, free: 15.9 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.5774, allocations: 28.22 kB / 1.135 GB, free: 15.9 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.5778, allocations: 291.4 kB / 1.136 GB, free: 15.82 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.578, allocations: 197.2 kB / 1.136 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.5781, allocations: 132.6 kB / 1.136 GB, free: 15.67 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007969/0.5789, allocations: 0.7598 MB / 1.137 GB, free: 15.39 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5789, allocations: 0 / 1.137 GB, free: 15.39 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5789, allocations: 1.094 kB / 1.137 GB, free: 15.39 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.5789, allocations: 4 kB / 1.137 GB, free: 15.38 MB / 1.01 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.00125/0.5802, allocations: 1.039 MB / 1.138 GB, free: 14.63 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5802, allocations: 10.06 kB / 1.138 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.5811, allocations: 225.3 kB / 1.138 GB, free: 14.58 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.5816, allocations: 435.9 kB / 1.138 GB, free: 14.26 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5816, allocations: 17.19 kB / 1.138 GB, free: 14.25 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.5816, allocations: 16.38 kB / 1.138 GB, free: 14.25 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.5822, allocations: 343.9 kB / 1.139 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5822, allocations: 3.938 kB / 1.139 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.5822, allocations: 10.12 kB / 1.139 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5822, allocations: 9.438 kB / 1.139 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.5829, allocations: 359.2 kB / 1.139 GB, free: 14.01 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.5842, allocations: 1.012 MB / 1.14 GB, free: 13.41 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.5849, allocations: 396.3 kB / 1.14 GB, free: 13.26 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.5852, allocations: 201.7 kB / 1.141 GB, free: 13.19 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.5853, allocations: 5.016 kB / 1.141 GB, free: 13.19 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.5857, allocations: 320.3 kB / 1.141 GB, free: 13.05 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.5857, allocations: 1.281 kB / 1.141 GB, free: 13.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=30): time 0.004115/0.5899, allocations: 1.177 MB / 1.142 GB, free: 12.73 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.5899, allocations: 81.42 kB / 1.142 GB, free: 12.64 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.5911, allocations: 1.387 MB / 1.144 GB, free: 12.16 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.5911, allocations: 33.19 kB / 1.144 GB, free: 12.13 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.5913, allocations: 372.1 kB / 1.144 GB, free: 11.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.488e-05/0.5914, allocations: 101.6 kB / 1.144 GB, free: 11.76 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.5915, allocations: 69.31 kB / 1.144 GB, free: 11.72 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.5916, allocations: 316.9 kB / 1.144 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.5919, allocations: 181.1 kB / 1.145 GB, free: 11.36 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.5923, allocations: 295.6 kB / 1.145 GB, free: 11.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.593, allocations: 409.5 kB / 1.145 GB, free: 11.01 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.593, allocations: 0 / 1.145 GB, free: 11.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002/0.595, allocations: 0.7512 MB / 1.146 GB, free: 10.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5951, allocations: 5.656 kB / 1.146 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5951, allocations: 1.875 kB / 1.146 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.5956, allocations: 180.1 kB / 1.146 GB, free: 10.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.5958, allocations: 63.75 kB / 1.146 GB, free: 10.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.5998, allocations: 2.152 MB / 1.148 GB, free: 9.301 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.6, allocations: 44.64 kB / 1.148 GB, free: 9.281 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.6, allocations: 17.56 kB / 1.148 GB, free: 9.277 MB / 1.01 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.000264/0.6003, allocations: 301.5 kB / 1.149 GB, free: 9.113 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.6004, allocations: 85.77 kB / 1.149 GB, free: 9.066 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.6026, allocations: 0.8533 MB / 1.15 GB, free: 8.797 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6026, allocations: 3.438 kB / 1.15 GB, free: 8.797 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.6026, allocations: 5.125 kB / 1.15 GB, free: 8.793 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6026, allocations: 2.203 kB / 1.15 GB, free: 8.793 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.603, allocations: 489.5 kB / 1.15 GB, free: 8.539 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.603, allocations: 0.6562 kB / 1.15 GB, free: 8.539 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.6032, allocations: 56.31 kB / 1.15 GB, free: 8.535 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.6037, allocations: 178.3 kB / 1.15 GB, free: 8.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.6037, allocations: 14.73 kB / 1.15 GB, free: 8.496 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.6075, allocations: 2.157 MB / 1.152 GB, free: 7.094 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6075, allocations: 2.328 kB / 1.152 GB, free: 7.094 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.6095, allocations: 0.8076 MB / 1.153 GB, free: 6.793 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.6096, allocations: 74.98 kB / 1.153 GB, free: 6.742 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.6096, allocations: 7.406 kB / 1.153 GB, free: 6.738 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.6098, allocations: 25.59 kB / 1.153 GB, free: 6.734 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.6099, allocations: 27.8 kB / 1.153 GB, free: 6.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.6099, allocations: 25.59 kB / 1.153 GB, free: 6.723 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008188/0.6108, allocations: 1.029 MB / 1.154 GB, free: 6.371 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6108, allocations: 0 / 1.154 GB, free: 6.371 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003626/0.6111, allocations: 122.5 kB / 1.154 GB, free: 6.348 MB / 1.01 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * 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.0007592/0.6119, allocations: 469 kB / 1.155 GB, free: 6.148 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009992/0.6129, allocations: 0.5594 MB / 1.155 GB, free: 5.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6129, allocations: 5.281 kB / 1.155 GB, free: 5.906 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.6134, allocations: 363 kB / 1.156 GB, free: 5.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.6138, allocations: 125 kB / 1.156 GB, free: 5.68 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.6157, allocations: 1.701 MB / 1.158 GB, free: 4.941 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.616, allocations: 381 kB / 1.158 GB, free: 4.828 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.6161, allocations: 51.12 kB / 1.158 GB, free: 4.812 MB / 1.01 GB Notification: Performance of SimCode: time 4.81e-07/0.6161, allocations: 0 / 1.158 GB, free: 4.812 MB / 1.01 GB Notification: Performance of Templates: time 0.0128/0.6289, allocations: 11.62 MB / 1.169 GB, free: 3.094 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.230689380317926]