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.0009266/0.0009266, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009754/0.0009754, allocations: 173 kB / 23.36 MB, free: 1.133 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.9752/0.9752, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.386/2.386, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.763e-06/1.763e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.59e-05, allocations: 6.25 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002738/0.002764, allocations: 2.211 MB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1273/0.13, allocations: 145.9 MB / 0.9831 GB, free: 9.633 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.1302, allocations: 7.938 kB / 0.9831 GB, free: 9.625 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.131, allocations: 0.7754 MB / 0.9839 GB, free: 8.848 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.1316, allocations: 0.5411 MB / 0.9844 GB, free: 8.305 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.132, allocations: 342.5 kB / 0.9848 GB, free: 7.969 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.1325, allocations: 0.5965 MB / 0.9853 GB, free: 7.371 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1326, allocations: 54.86 kB / 0.9854 GB, free: 7.316 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007505/0.1333, allocations: 458.8 kB / 0.9858 GB, free: 6.898 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.1337, allocations: 436 kB / 0.9862 GB, free: 6.473 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.1337, allocations: 24 kB / 0.9863 GB, free: 6.449 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.1341, allocations: 287.4 kB / 0.9865 GB, free: 6.168 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1342, allocations: 203.6 kB / 0.9867 GB, free: 5.969 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.1343, allocations: 131.4 kB / 0.9869 GB, free: 5.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005342/0.1348, allocations: 0.6343 MB / 0.9875 GB, free: 5.203 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1348, allocations: 0 / 0.9875 GB, free: 5.203 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1348, allocations: 0 / 0.9875 GB, free: 5.203 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1348, allocations: 0 / 0.9875 GB, free: 5.203 MB / 0.948 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.0009369/0.1358, allocations: 1.006 MB / 0.9885 GB, free: 4.168 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1358, allocations: 8.625 kB / 0.9885 GB, free: 4.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006575/0.1365, allocations: 191.6 kB / 0.9887 GB, free: 3.973 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.1368, allocations: 409.4 kB / 0.989 GB, free: 3.547 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1368, allocations: 16.38 kB / 0.9891 GB, free: 3.531 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.1368, allocations: 16 kB / 0.9891 GB, free: 3.516 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.1372, allocations: 274.5 kB / 0.9893 GB, free: 3.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1372, allocations: 0 / 0.9893 GB, free: 3.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1372, allocations: 11.98 kB / 0.9893 GB, free: 3.219 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1372, allocations: 7.938 kB / 0.9894 GB, free: 3.211 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1374, allocations: 139.1 kB / 0.9895 GB, free: 3.074 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.1382, allocations: 0.6734 MB / 0.9901 GB, free: 2.375 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.1385, allocations: 305.2 kB / 0.9904 GB, free: 2.055 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.1386, allocations: 81.67 kB / 0.9905 GB, free: 1.969 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1386, allocations: 15.92 kB / 0.9905 GB, free: 1.953 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.1388, allocations: 203.6 kB / 0.9907 GB, free: 1.734 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.1388, allocations: 0 / 0.9907 GB, free: 1.734 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.001836/0.1407, allocations: 0.5291 MB / 0.9912 GB, free: 1.195 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.1407, allocations: 85.05 kB / 0.9913 GB, free: 1.094 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/0.1413, allocations: 0.8335 MB / 0.9921 GB, free: 252 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.1413, allocations: 33.7 kB / 0.9922 GB, free: 212 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/0.1414, allocations: 210.4 kB / 0.9924 GB, free: 0 / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.1415, allocations: 99.33 kB / 0.9925 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.1415, allocations: 65.66 kB / 0.9925 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.1416, allocations: 321.9 kB / 0.9928 GB, free: 15.51 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.1417, allocations: 54.8 kB / 0.9929 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1418, allocations: 120.3 kB / 0.993 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.142, allocations: 176.8 kB / 0.9932 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.142, allocations: 3.938 kB / 0.9932 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007989/0.1428, allocations: 349.8 kB / 0.9935 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1428, allocations: 13.78 kB / 0.9935 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1428, allocations: 0 / 0.9935 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.1434, allocations: 191.5 kB / 0.9937 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.1437, allocations: 55.89 kB / 0.9938 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.1451, allocations: 1.373 MB / 0.9951 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1453, allocations: 39.83 kB / 0.9951 GB, free: 13 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1453, allocations: 11.98 kB / 0.9951 GB, free: 12.99 MB / 0.9636 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.0001256/0.1454, allocations: 141.5 kB / 0.9953 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.1455, allocations: 59.88 kB / 0.9953 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/0.1464, allocations: 424.6 kB / 0.9957 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1464, allocations: 4 kB / 0.9957 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1464, allocations: 4 kB / 0.9957 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1464, allocations: 0 / 0.9957 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.1467, allocations: 301.3 kB / 0.996 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1467, allocations: 0 / 0.996 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1468, allocations: 51.91 kB / 0.9961 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006053/0.1474, allocations: 242.3 kB / 0.9963 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.1474, allocations: 19.97 kB / 0.9963 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.149, allocations: 1.37 MB / 0.9977 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.149, allocations: 0 / 0.9977 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.1498, allocations: 388.3 kB / 0.998 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1499, allocations: 83.31 kB / 0.9981 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.1499, allocations: 8 kB / 0.9981 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1501, allocations: 23.92 kB / 0.9982 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1501, allocations: 23.95 kB / 0.9982 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.1501, allocations: 19.91 kB / 0.9982 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002645/0.1504, allocations: 424.5 kB / 0.9986 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1504, allocations: 0 / 0.9986 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002792/0.1507, allocations: 123.9 kB / 0.9987 GB, free: 9.152 MB / 0.9636 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.001074/0.1518, allocations: 0.5353 MB / 0.9992 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.1522, allocations: 311.6 kB / 0.9995 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.1522, allocations: 16.19 kB / 0.9996 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.1524, allocations: 249.1 kB / 0.9998 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1527, allocations: 136.3 kB / 0.9999 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.154, allocations: 1.182 MB / 1.001 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1541, allocations: 181 kB / 1.001 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.1542, allocations: 70.92 kB / 1.001 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.1544, allocations: 131.3 kB / 1.001 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.1544, allocations: 4 kB / 1.001 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.01263/0.167, allocations: 11.5 MB / 1.013 GB, free: 11.15 MB / 0.9792 GB " [Timeout remaining time 300] 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: 5.755837858188897]