Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 105.7 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 187 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 59.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.885, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002762/0.8878, allocations: 0.9982 MB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.8893, allocations: 0.9752 MB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.8894, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.735e-05/0.8895, allocations: 19.73 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.8897, allocations: 23.8 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.89, allocations: 55.88 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.8902, allocations: 167.6 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.8905, allocations: 90.41 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.8907, allocations: 67.7 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.8908, allocations: 71.67 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.8908, allocations: 16 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.8909, allocations: 16 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.8909, allocations: 39.86 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.559e-05/0.891, allocations: 75.66 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.8913, allocations: 203.6 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8913, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8913, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.649e-06/0.8913, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007324/0.8921, allocations: 455 kB / 1.171 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8921, allocations: 8.625 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.8922, allocations: 16.84 kB / 1.171 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.8927, allocations: 252.3 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.8927, allocations: 16.66 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.8928, allocations: 12.38 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.8931, allocations: 137 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.8931, allocations: 192 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.8932, allocations: 15.88 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.8932, allocations: 8 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.8936, allocations: 112.7 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.8943, allocations: 468.2 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.8946, allocations: 118.5 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.8948, allocations: 52.77 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8948, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.8948, allocations: 34.55 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.8948, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005944/0.8954, allocations: 169.5 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.8955, allocations: 51.41 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.8956, allocations: 157.2 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.8957, allocations: 25.7 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.8958, allocations: 131.8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.8958, allocations: 31.73 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.8959, allocations: 37.7 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.896, allocations: 330.8 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.8962, allocations: 39.97 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.8964, allocations: 71.39 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.8967, allocations: 119.6 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8967, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003795/0.8971, allocations: 141.6 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.8971, allocations: 12 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8972, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.8972, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.8974, allocations: 23.92 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8974, allocations: 4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.8975, allocations: 11.94 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.8975, allocations: 8 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001262/0.8976, allocations: 133.8 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.8977, allocations: 11.95 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.8977, allocations: 12.72 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.8978, allocations: 4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.8978, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8978, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.898, allocations: 245.3 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.898, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.8982, allocations: 19.92 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.8982, allocations: 4 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.8982, allocations: 7.984 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8982, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8982, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.8986, allocations: 227.4 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.8987, allocations: 85.02 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.8987, allocations: 4 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.8988, allocations: 15.98 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.8989, allocations: 11.98 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.8989, allocations: 7.938 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.696e-05/0.899, allocations: 120.8 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.899, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00027/0.8993, allocations: 31.89 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001538/0.8994, allocations: 107.2 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.8998, allocations: 107.9 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8998, allocations: 0 / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.9, allocations: 51.91 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.9004, allocations: 26.34 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.901, allocations: 283 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.9013, allocations: 0.7123 MB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.9014, allocations: 19.42 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.9014, allocations: 0 / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of Templates: time 0.004033/0.9055, allocations: 1.669 MB / 1.177 GB, free: 9.715 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches