Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001882/0.001882, allocations: 77.48 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002295/0.002295, allocations: 166.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.86/2.86, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.SeriesFanCVF.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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.32e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002302/0.002336, allocations: 0.9651 MB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003829, allocations: 1.014 MB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.003905, allocations: 0 / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.003968, allocations: 15.8 kB / 0.9834 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.004101, allocations: 27.78 kB / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.00437, allocations: 63.88 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.004587, allocations: 172 kB / 0.9837 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.004758, allocations: 64.73 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.00503, allocations: 111.7 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.005129, allocations: 51.86 kB / 0.9839 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.005164, allocations: 19.94 kB / 0.9839 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.708e-05/0.005221, allocations: 20 kB / 0.9839 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.005259, allocations: 35.84 kB / 0.984 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.005321, allocations: 51.83 kB / 0.984 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.005617, allocations: 219.3 kB / 0.9842 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00562, allocations: 0 / 0.9842 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005621, allocations: 0 / 0.9842 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.005626, allocations: 4 kB / 0.9842 GB, free: 9.109 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006596/0.006286, allocations: 389.4 kB / 0.9846 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.006324, allocations: 12.03 kB / 0.9846 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.006487, allocations: 28.78 kB / 0.9846 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.006922, allocations: 193.4 kB / 0.9848 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.006946, allocations: 12.38 kB / 0.9848 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.006972, allocations: 16.38 kB / 0.9848 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.007314, allocations: 142.2 kB / 0.985 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.007323, allocations: 192 / 0.985 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.007343, allocations: 8.375 kB / 0.985 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.007351, allocations: 4.375 kB / 0.985 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.007715, allocations: 128.5 kB / 0.9851 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.008357, allocations: 372.1 kB / 0.9855 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.008683, allocations: 118.6 kB / 0.9856 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.008841, allocations: 48.83 kB / 0.9856 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.008862, allocations: 0 / 0.9856 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.008895, allocations: 38.56 kB / 0.9857 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.008897, allocations: 0 / 0.9857 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005786/0.009475, allocations: 181.4 kB / 0.9858 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.009525, allocations: 59.41 kB / 0.9859 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.009671, allocations: 160 kB / 0.986 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.009692, allocations: 25.7 kB / 0.9861 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.009783, allocations: 124.4 kB / 0.9862 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.009821, allocations: 39.67 kB / 0.9862 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.009886, allocations: 37.7 kB / 0.9863 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.01003, allocations: 322.8 kB / 0.9866 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.0102, allocations: 43.97 kB / 0.9866 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.01037, allocations: 75.39 kB / 0.9867 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.0107, allocations: 107.3 kB / 0.9868 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.0107, allocations: 0 / 0.9868 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003945/0.0111, allocations: 161.8 kB / 0.9869 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01111, allocations: 8 kB / 0.9869 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01112, allocations: 0 / 0.9869 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01113, allocations: 3.938 kB / 0.9869 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.0113, allocations: 31.91 kB / 0.987 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.01131, allocations: 4 kB / 0.987 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01142, allocations: 19.88 kB / 0.987 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.01144, allocations: 8.078 kB / 0.987 GB, free: 6.043 MB / 0.9356 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.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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.0001258/0.01156, allocations: 133.8 kB / 0.9871 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.0116, allocations: 15.84 kB / 0.9872 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.01164, allocations: 16.78 kB / 0.9872 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01164, allocations: 0 / 0.9872 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01165, allocations: 0 / 0.9872 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01165, allocations: 3.984 kB / 0.9872 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.01186, allocations: 153.2 kB / 0.9873 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01187, allocations: 3.984 kB / 0.9873 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.012, allocations: 23.98 kB / 0.9873 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.01201, allocations: 3.938 kB / 0.9873 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.01202, allocations: 4 kB / 0.9874 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01202, allocations: 0 / 0.9874 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01202, allocations: 0 / 0.9874 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.01244, allocations: 231.3 kB / 0.9876 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.01245, allocations: 11.89 kB / 0.9876 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01248, allocations: 11.92 kB / 0.9876 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.0126, allocations: 11.94 kB / 0.9876 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.01268, allocations: 19.97 kB / 0.9876 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.01269, allocations: 4 kB / 0.9876 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.616e-05/0.01278, allocations: 113.5 kB / 0.9877 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01278, allocations: 0 / 0.9877 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002573/0.01304, allocations: 23.95 kB / 0.9878 GB, free: 5.219 MB / 0.9356 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.0001355/0.01317, allocations: 100.8 kB / 0.9879 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.01355, allocations: 115.8 kB / 0.988 GB, free: 5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01356, allocations: 0 / 0.988 GB, free: 5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.01373, allocations: 59.89 kB / 0.988 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.01407, allocations: 23.94 kB / 0.988 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.01465, allocations: 266.4 kB / 0.9883 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.01476, allocations: 107.5 kB / 0.9884 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.959e-05/0.01484, allocations: 17.14 kB / 0.9884 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.0149, allocations: 16.5 kB / 0.9884 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.0149, allocations: 0 / 0.9884 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of Templates: time 0.004662/0.01956, allocations: 1.256 MB / 0.9897 GB, free: 3.273 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.252938851714134]