Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.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.002284/0.002284, allocations: 81.5 kB / 19.44 MB, free: 344 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.003027/0.003027, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.57 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.405/3.405, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.693e-05, allocations: 4.562 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002854/0.002891, allocations: 1.014 MB / 0.8785 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.004511, allocations: 1.012 MB / 0.8795 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.004628, allocations: 1.406 kB / 0.8795 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.645e-05/0.004684, allocations: 11.81 kB / 0.8795 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.004848, allocations: 31.72 kB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.005198, allocations: 75.73 kB / 0.8796 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.005439, allocations: 164.1 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.005617, allocations: 64.72 kB / 0.8798 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.005907, allocations: 111.6 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.006014, allocations: 51.86 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.006051, allocations: 20 kB / 0.88 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.289e-05/0.006113, allocations: 20 kB / 0.88 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.006169, allocations: 43.83 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.006236, allocations: 51.89 kB / 0.8801 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.006568, allocations: 224.1 kB / 0.8803 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.006573, allocations: 3.984 kB / 0.8803 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/0.006575, allocations: 0 / 0.8803 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.00658, allocations: 1.062 kB / 0.8803 GB, free: 3.773 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007344/0.007315, allocations: 483.5 kB / 0.8808 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.007358, allocations: 17.08 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.007533, allocations: 32.84 kB / 0.8808 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.007941, allocations: 199.2 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.007967, allocations: 12.38 kB / 0.881 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.007992, allocations: 13.44 kB / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.008409, allocations: 142.9 kB / 0.8812 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.008419, allocations: 0.8438 kB / 0.8812 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.008439, allocations: 8.375 kB / 0.8812 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.008444, allocations: 0.9688 kB / 0.8812 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.008755, allocations: 109.8 kB / 0.8813 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.00956, allocations: 485.2 kB / 0.8817 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.009869, allocations: 115.9 kB / 0.8818 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.01, allocations: 48.27 kB / 0.8819 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.01003, allocations: 0 / 0.8819 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.01006, allocations: 42.42 kB / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.01006, allocations: 0 / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0005052/0.01057, allocations: 162.4 kB / 0.8821 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.01062, allocations: 55.94 kB / 0.8821 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.01094, allocations: 241.1 kB / 0.8824 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.01096, allocations: 29.7 kB / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.01109, allocations: 175.1 kB / 0.8826 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.01113, allocations: 39.17 kB / 0.8826 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.01122, allocations: 59.34 kB / 0.8827 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003372/0.01156, allocations: 0.5001 MB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.01169, allocations: 31.98 kB / 0.8832 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.01185, allocations: 81.95 kB / 0.8833 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.0121, allocations: 115.6 kB / 0.8834 GB, free: 428 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0121, allocations: 0 / 0.8834 GB, free: 428 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003377/0.01244, allocations: 151.3 kB / 0.8835 GB, free: 272 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.01245, allocations: 4 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.01247, allocations: 0 / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.01249, allocations: 5.312 kB / 0.8835 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.01264, allocations: 23.97 kB / 0.8835 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.01265, allocations: 4 kB / 0.8835 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.01273, allocations: 15.98 kB / 0.8836 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01275, allocations: 12 kB / 0.8836 GB, free: 208 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.01289, allocations: 172.5 kB / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.01294, allocations: 23.84 kB / 0.8838 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.013, allocations: 12.77 kB / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01301, allocations: 4 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.01301, allocations: 0 / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01301, allocations: 0 / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.01328, allocations: 192.5 kB / 0.884 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01328, allocations: 0 / 0.884 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01338, allocations: 19.98 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.01339, allocations: 7.938 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.0134, allocations: 4 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01341, allocations: 0 / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.01341, allocations: 3.938 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.0138, allocations: 279.7 kB / 0.8843 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.01382, allocations: 11.89 kB / 0.8843 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.01385, allocations: 4 kB / 0.8843 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.01393, allocations: 0 / 0.8843 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.01401, allocations: 27.97 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01402, allocations: 4 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001183/0.01414, allocations: 156.8 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01414, allocations: 0 / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002838/0.01442, allocations: 31.89 kB / 0.8845 GB, free: 15.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.01461, allocations: 103.2 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.01495, allocations: 111.7 kB / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.01495, allocations: 8 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.0151, allocations: 59.66 kB / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.0154, allocations: 24.58 kB / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.01602, allocations: 275 kB / 0.885 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.01614, allocations: 111.4 kB / 0.8851 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.58e-05/0.01623, allocations: 17.14 kB / 0.8852 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.0163, allocations: 24.48 kB / 0.8852 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.0163, allocations: 0 / 0.8852 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of Templates: time 0.005168/0.02147, allocations: 1.281 MB / 0.8864 GB, free: 13.2 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.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.675487669999711]