Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 191.6 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.112/3.112, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 64.16 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3177, allocations: 173.6 MB / 1.307 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003527/0.3212, allocations: 2.228 MB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1751/0.4963, allocations: 149.4 MB / 1.455 GB, free: 9.645 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.4965, allocations: 7.875 kB / 1.455 GB, free: 9.637 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.4976, allocations: 0.7757 MB / 1.456 GB, free: 8.859 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007525/0.4984, allocations: 498.6 kB / 1.456 GB, free: 8.371 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4994, allocations: 413.8 kB / 1.456 GB, free: 7.969 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006477/0.5001, allocations: 0.5732 MB / 1.457 GB, free: 7.395 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.5002, allocations: 52.89 kB / 1.457 GB, free: 7.348 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.5014, allocations: 379.5 kB / 1.457 GB, free: 6.988 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.5021, allocations: 0.5231 MB / 1.458 GB, free: 6.465 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.5021, allocations: 28 kB / 1.458 GB, free: 6.438 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006156/0.5028, allocations: 295.5 kB / 1.458 GB, free: 6.148 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.503, allocations: 183.7 kB / 1.458 GB, free: 5.969 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.5033, allocations: 265.9 kB / 1.459 GB, free: 5.707 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.5043, allocations: 0.7349 MB / 1.459 GB, free: 4.969 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5043, allocations: 0 / 1.459 GB, free: 4.969 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5043, allocations: 0 / 1.459 GB, free: 4.969 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.5043, allocations: 0 / 1.459 GB, free: 4.969 MB / 1.154 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.001752/0.5061, allocations: 1.032 MB / 1.46 GB, free: 3.902 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5061, allocations: 8.031 kB / 1.46 GB, free: 3.895 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.5076, allocations: 199.3 kB / 1.461 GB, free: 3.699 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.5083, allocations: 444.3 kB / 1.461 GB, free: 3.234 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.5083, allocations: 16.31 kB / 1.461 GB, free: 3.219 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.5084, allocations: 20 kB / 1.461 GB, free: 3.199 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.5093, allocations: 330.9 kB / 1.461 GB, free: 2.859 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5093, allocations: 0 / 1.461 GB, free: 2.859 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.5094, allocations: 8 kB / 1.461 GB, free: 2.852 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5094, allocations: 12 kB / 1.461 GB, free: 2.84 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.5107, allocations: 340.6 kB / 1.462 GB, free: 2.508 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.5129, allocations: 1.072 MB / 1.463 GB, free: 1.383 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.5141, allocations: 385.3 kB / 1.463 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/0.5148, allocations: 189.6 kB / 1.463 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.5148, allocations: 8 kB / 1.463 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/0.5157, allocations: 316.6 kB / 1.464 GB, free: 472 kB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.5157, allocations: 4 kB / 1.464 GB, free: 468 kB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.009164/0.5249, allocations: 1.147 MB / 1.465 GB, free: 15.3 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.5249, allocations: 81.11 kB / 1.465 GB, free: 15.2 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.5264, allocations: 1.349 MB / 1.466 GB, free: 13.85 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.5265, allocations: 37.7 kB / 1.466 GB, free: 13.8 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.5268, allocations: 360.5 kB / 1.467 GB, free: 13.45 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.5269, allocations: 107.1 kB / 1.467 GB, free: 13.34 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.5271, allocations: 65.67 kB / 1.467 GB, free: 13.27 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5273, allocations: 317.9 kB / 1.467 GB, free: 12.96 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.528, allocations: 175.9 kB / 1.467 GB, free: 12.79 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/0.5287, allocations: 223.7 kB / 1.467 GB, free: 12.55 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.53, allocations: 399.3 kB / 1.468 GB, free: 12.14 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.53, allocations: 8 kB / 1.468 GB, free: 12.14 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0041/0.5341, allocations: 0.7086 MB / 1.468 GB, free: 11.42 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.5342, allocations: 8 kB / 1.468 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5342, allocations: 4 kB / 1.468 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.5353, allocations: 180.7 kB / 1.469 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.5356, allocations: 59.89 kB / 1.469 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008139/0.5438, allocations: 2.197 MB / 1.471 GB, free: 8.855 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.5443, allocations: 35.86 kB / 1.471 GB, free: 8.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.5444, allocations: 15.98 kB / 1.471 GB, free: 8.805 MB / 1.17 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.0004084/0.5448, allocations: 298.5 kB / 1.471 GB, free: 8.504 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.5449, allocations: 95.36 kB / 1.471 GB, free: 8.41 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.5493, allocations: 0.8186 MB / 1.472 GB, free: 7.574 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5493, allocations: 4 kB / 1.472 GB, free: 7.57 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.5493, allocations: 0 / 1.472 GB, free: 7.57 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.5493, allocations: 7.922 kB / 1.472 GB, free: 7.562 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.55, allocations: 0.5455 MB / 1.473 GB, free: 6.977 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.55, allocations: 0 / 1.473 GB, free: 6.977 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.5503, allocations: 47.97 kB / 1.473 GB, free: 6.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.5513, allocations: 180.6 kB / 1.473 GB, free: 6.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.5514, allocations: 11.98 kB / 1.473 GB, free: 6.738 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007967/0.5593, allocations: 2.188 MB / 1.475 GB, free: 4.438 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5593, allocations: 7.875 kB / 1.475 GB, free: 4.43 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/0.5636, allocations: 0.7641 MB / 1.476 GB, free: 3.645 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.5637, allocations: 75.38 kB / 1.476 GB, free: 3.57 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.5638, allocations: 11.94 kB / 1.476 GB, free: 3.559 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.5642, allocations: 23.97 kB / 1.476 GB, free: 3.535 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.5643, allocations: 27.95 kB / 1.476 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.5643, allocations: 15.98 kB / 1.476 GB, free: 3.492 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001138/0.5655, allocations: 1.007 MB / 1.477 GB, free: 2.488 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5655, allocations: 0 / 1.477 GB, free: 2.488 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005087/0.566, allocations: 115.8 kB / 1.477 GB, free: 2.375 MB / 1.17 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 (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.001616/0.5676, allocations: 446.2 kB / 1.477 GB, free: 2.094 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.5695, allocations: 0.526 MB / 1.478 GB, free: 1.559 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5695, allocations: 3.938 kB / 1.478 GB, free: 1.555 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.5705, allocations: 350.4 kB / 1.478 GB, free: 1.199 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.5711, allocations: 122.1 kB / 1.478 GB, free: 1.09 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.5739, allocations: 1.6 MB / 1.48 GB, free: 15.45 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.5746, allocations: 0.973 MB / 1.481 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.5749, allocations: 82.86 kB / 1.481 GB, free: 14.37 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.575, allocations: 43.42 kB / 1.481 GB, free: 14.33 MB / 1.186 GB Notification: Performance of SimCode: time 5.82e-07/0.575, allocations: 4 kB / 1.481 GB, free: 14.32 MB / 1.186 GB Notification: Performance of Templates: time 0.01929/0.5943, allocations: 10.54 MB / 1.491 GB, free: 3.836 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.165600530803204]