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.001044/0.001044, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009907/0.0009907, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9713/0.9713, allocations: 177.1 MB / 204.5 MB, free: 5.496 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 2.029/2.029, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.[0-9,]+.|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.[0-9,]+.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.327e-05, allocations: 4.844 kB / 0.8793 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.005844/0.005858, allocations: 2.227 MB / 0.8815 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1286/0.1345, allocations: 143.7 MB / 1.022 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.1346, allocations: 7.938 kB / 1.022 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.1353, allocations: 0.7793 MB / 1.023 GB, free: 2.812 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.1359, allocations: 0.5412 MB / 1.023 GB, free: 2.27 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.1363, allocations: 342.4 kB / 1.023 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.1367, allocations: 0.5964 MB / 1.024 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1368, allocations: 56.88 kB / 1.024 GB, free: 1.277 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007143/0.1375, allocations: 457.8 kB / 1.025 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.1379, allocations: 0.4999 MB / 1.025 GB, free: 372 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.1379, allocations: 24 kB / 1.025 GB, free: 348 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.1382, allocations: 287.4 kB / 1.025 GB, free: 60 kB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1384, allocations: 203.6 kB / 1.026 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.1386, allocations: 139.3 kB / 1.026 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.1391, allocations: 0.6226 MB / 1.026 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1391, allocations: 0 / 1.026 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1391, allocations: 4 kB / 1.026 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1391, allocations: 4 kB / 1.026 GB, free: 15.09 MB / 0.9948 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.0009897/0.1401, allocations: 1.17 MB / 1.027 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.1402, allocations: 16.03 kB / 1.027 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007854/0.1409, allocations: 231 kB / 1.028 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.1413, allocations: 440.1 kB / 1.028 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1413, allocations: 12.38 kB / 1.028 GB, free: 13.17 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1414, allocations: 20 kB / 1.028 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.1417, allocations: 284.1 kB / 1.028 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1417, allocations: 0 / 1.028 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.1417, allocations: 8 kB / 1.028 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1417, allocations: 7.938 kB / 1.028 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.1419, allocations: 157.4 kB / 1.029 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009896/0.1429, allocations: 0.9885 MB / 1.03 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.1433, allocations: 254.4 kB / 1.03 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1434, allocations: 94.36 kB / 1.03 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1434, allocations: 7.938 kB / 1.03 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.1436, allocations: 213.7 kB / 1.03 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 1.352e-06/0.1436, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.002158/0.1458, allocations: 0.6485 MB / 1.031 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1458, allocations: 89.03 kB / 1.031 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.1464, allocations: 0.9287 MB / 1.032 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.1464, allocations: 41.69 kB / 1.032 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.1467, allocations: 451.1 kB / 1.032 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.1468, allocations: 99.14 kB / 1.032 GB, free: 8.746 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.1468, allocations: 79.28 kB / 1.032 GB, free: 8.66 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.1469, allocations: 496.4 kB / 1.033 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.147, allocations: 55.95 kB / 1.033 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1472, allocations: 165.1 kB / 1.033 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1474, allocations: 195.2 kB / 1.033 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1474, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001012/0.1484, allocations: 448.2 kB / 1.034 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1484, allocations: 4 kB / 1.034 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1484, allocations: 0 / 1.034 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.1491, allocations: 199.5 kB / 1.034 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.1492, allocations: 63.89 kB / 1.034 GB, free: 6.996 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.151, allocations: 1.928 MB / 1.036 GB, free: 4.949 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1512, allocations: 31.84 kB / 1.036 GB, free: 4.918 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.1512, allocations: 15.97 kB / 1.036 GB, free: 4.902 MB / 0.9948 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.0002/0.1514, allocations: 192.4 kB / 1.036 GB, free: 4.703 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.1515, allocations: 99.47 kB / 1.036 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.1526, allocations: 0.5083 MB / 1.037 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1526, allocations: 4 kB / 1.037 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.1526, allocations: 0 / 1.037 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1526, allocations: 7.922 kB / 1.037 GB, free: 4.074 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.1529, allocations: 379.7 kB / 1.037 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1529, allocations: 4 kB / 1.037 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1531, allocations: 51.91 kB / 1.037 GB, free: 3.621 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006259/0.1537, allocations: 195.5 kB / 1.037 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.1537, allocations: 23.97 kB / 1.037 GB, free: 3.402 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.1553, allocations: 1.924 MB / 1.039 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1553, allocations: 7.938 kB / 1.039 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.1565, allocations: 0.5078 MB / 1.04 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1566, allocations: 83.36 kB / 1.04 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.1566, allocations: 19.92 kB / 1.04 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1568, allocations: 12 kB / 1.04 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.1568, allocations: 35.94 kB / 1.04 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.1569, allocations: 15.98 kB / 1.04 GB, free: 0.6523 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003305/0.1572, allocations: 0.5769 MB / 1.04 GB, free: 84 kB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.1572, allocations: 0 / 1.04 GB, free: 84 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003071/0.1575, allocations: 111.9 kB / 1.04 GB, free: 15.97 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.0007999/0.1583, allocations: 415.8 kB / 1.041 GB, free: 15.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.1588, allocations: 402.3 kB / 1.041 GB, free: 15.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1588, allocations: 4.062 kB / 1.041 GB, free: 15.28 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.159, allocations: 338.3 kB / 1.042 GB, free: 14.93 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1594, allocations: 130.8 kB / 1.042 GB, free: 14.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1607, allocations: 1.181 MB / 1.043 GB, free: 13.58 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.1608, allocations: 185 kB / 1.043 GB, free: 13.38 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.1609, allocations: 78.86 kB / 1.043 GB, free: 13.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.1612, allocations: 162.1 kB / 1.043 GB, free: 13.14 MB / 1.01 GB Notification: Performance of SimCode: time 7.72e-07/0.1612, allocations: 4 kB / 1.043 GB, free: 13.14 MB / 1.01 GB Notification: Performance of Templates: time 0.01256/0.1737, allocations: 11.7 MB / 1.055 GB, free: 1.57 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.042849988210946]