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.001919/0.001919, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002524/0.002524, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.171/3.171, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.452e-06/1.452e-06, allocations: 0 / 0.8775 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.448e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004023/0.004047, allocations: 2.151 MB / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.1912, allocations: 132.4 MB / 1.009 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.1915, allocations: 7.938 kB / 1.009 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.1927, allocations: 0.7793 MB / 1.01 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.1938, allocations: 0.5334 MB / 1.01 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1948, allocations: 346.4 kB / 1.011 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008968/0.1957, allocations: 0.5965 MB / 1.011 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1959, allocations: 60.88 kB / 1.011 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.1975, allocations: 460.3 kB / 1.012 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000741/0.1982, allocations: 0.5038 MB / 1.012 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.1983, allocations: 24 kB / 1.012 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006559/0.199, allocations: 287.5 kB / 1.012 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.1992, allocations: 195.6 kB / 1.013 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.1994, allocations: 143.3 kB / 1.013 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.2007, allocations: 0.7513 MB / 1.013 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2007, allocations: 7.938 kB / 1.013 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2007, allocations: 0 / 1.013 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.2007, allocations: 0 / 1.013 GB, free: 10.86 MB / 0.9792 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.00191/0.2026, allocations: 1.035 MB / 1.014 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2026, allocations: 8.031 kB / 1.014 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.2047, allocations: 259 kB / 1.015 GB, free: 9.531 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.2054, allocations: 441.3 kB / 1.015 GB, free: 9.074 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.2054, allocations: 16.38 kB / 1.015 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.2055, allocations: 19.94 kB / 1.015 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2065, allocations: 343.2 kB / 1.016 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2065, allocations: 0 / 1.016 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.2066, allocations: 4 kB / 1.016 GB, free: 8.688 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2066, allocations: 7.938 kB / 1.016 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.208, allocations: 360.6 kB / 1.016 GB, free: 8.328 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.2104, allocations: 1.007 MB / 1.017 GB, free: 7.285 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.2117, allocations: 413.1 kB / 1.017 GB, free: 6.863 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/0.2124, allocations: 193.6 kB / 1.017 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.2125, allocations: 12 kB / 1.017 GB, free: 6.656 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009558/0.2134, allocations: 306.1 kB / 1.018 GB, free: 6.34 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.2134, allocations: 7.938 kB / 1.018 GB, free: 6.332 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30): time 0.009346/0.2228, allocations: 1.188 MB / 1.019 GB, free: 5.133 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.2228, allocations: 81.11 kB / 1.019 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.2246, allocations: 1.384 MB / 1.02 GB, free: 3.641 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.2247, allocations: 41.7 kB / 1.02 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.2251, allocations: 364.5 kB / 1.021 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.2252, allocations: 107.2 kB / 1.021 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.2253, allocations: 61.67 kB / 1.021 GB, free: 3.062 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2255, allocations: 318 kB / 1.021 GB, free: 2.746 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/0.2264, allocations: 187.7 kB / 1.021 GB, free: 2.562 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.2272, allocations: 290.7 kB / 1.022 GB, free: 2.246 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.2287, allocations: 408.9 kB / 1.022 GB, free: 1.832 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2287, allocations: 4 kB / 1.022 GB, free: 1.828 MB / 0.9792 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00439/0.2331, allocations: 0.755 MB / 1.023 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2331, allocations: 10.19 kB / 1.023 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2331, allocations: 0 / 1.023 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002891/0.236, allocations: 336.5 kB / 1.023 GB, free: 0.7227 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.2364, allocations: 67.95 kB / 1.023 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008604/0.245, allocations: 2.15 MB / 1.025 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.2456, allocations: 47.81 kB / 1.025 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.2456, allocations: 11.98 kB / 1.025 GB, free: 14.34 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.0004595/0.2461, allocations: 302.7 kB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.2463, allocations: 99.42 kB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/0.2513, allocations: 0.8498 MB / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.2513, allocations: 11.92 kB / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2513, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2513, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.2522, allocations: 483.8 kB / 1.027 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2522, allocations: 0 / 1.027 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.2526, allocations: 59.91 kB / 1.027 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003001/0.2556, allocations: 340.4 kB / 1.027 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.2556, allocations: 11.98 kB / 1.027 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008428/0.264, allocations: 2.142 MB / 1.03 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.264, allocations: 4.062 kB / 1.03 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/0.2685, allocations: 0.8179 MB / 1.03 GB, free: 9.062 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.2686, allocations: 75.38 kB / 1.03 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.2687, allocations: 12 kB / 1.03 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.2692, allocations: 27.97 kB / 1.03 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.2693, allocations: 23.95 kB / 1.03 GB, free: 8.926 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.2694, allocations: 24.03 kB / 1.03 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001353/0.2707, allocations: 1.026 MB / 1.031 GB, free: 7.883 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/0.2707, allocations: 8 kB / 1.031 GB, free: 7.875 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005828/0.2713, allocations: 123.8 kB / 1.032 GB, free: 7.754 MB / 0.9948 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.002147/0.2735, allocations: 460.3 kB / 1.032 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.2755, allocations: 0.5569 MB / 1.033 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2755, allocations: 0 / 1.033 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.2766, allocations: 374.6 kB / 1.033 GB, free: 6.531 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.2774, allocations: 142.8 kB / 1.033 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.2806, allocations: 1.65 MB / 1.035 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.2811, allocations: 379.5 kB / 1.035 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003735/0.2814, allocations: 94.84 kB / 1.035 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.2816, allocations: 40.48 kB / 1.035 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/0.2816, allocations: 3.938 kB / 1.035 GB, free: 4.18 MB / 0.9948 GB Notification: Performance of Templates: time 0.0214/0.303, allocations: 10.55 MB / 1.045 GB, free: 9.75 MB / 1.01 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=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.891066354932263]