Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001094/0.001094, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.547/2.547, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 59.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.894, allocations: 140.4 MB / 0.9496 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002192/0.8962, allocations: 0.9995 MB / 0.9506 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009658/0.8972, allocations: 0.9687 MB / 0.9516 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.8973, allocations: 2.75 kB / 0.9516 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.8974, allocations: 15.8 kB / 0.9516 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.8975, allocations: 29.11 kB / 0.9516 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.8977, allocations: 61.5 kB / 0.9517 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.8978, allocations: 152.4 kB / 0.9518 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.898, allocations: 93.02 kB / 0.9519 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.8982, allocations: 67.75 kB / 0.952 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.978e-05/0.8983, allocations: 78.39 kB / 0.952 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.8983, allocations: 16.06 kB / 0.952 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.8984, allocations: 16.22 kB / 0.9521 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.8984, allocations: 33.3 kB / 0.9521 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.8985, allocations: 68.78 kB / 0.9522 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.8987, allocations: 202 kB / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8987, allocations: 0 / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8987, allocations: 0 / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8987, allocations: 0 / 0.9523 GB, free: 7.242 MB / 0.7169 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.0005793/0.8993, allocations: 450.1 kB / 0.9528 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8993, allocations: 9.625 kB / 0.9528 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.8994, allocations: 16.53 kB / 0.9528 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.8998, allocations: 249.2 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.8998, allocations: 10.47 kB / 0.9531 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.8998, allocations: 14.12 kB / 0.9531 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.9001, allocations: 148.5 kB / 0.9532 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.9001, allocations: 5.438 kB / 0.9532 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.9002, allocations: 4 kB / 0.9532 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.9002, allocations: 4.125 kB / 0.9532 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.9005, allocations: 109.2 kB / 0.9533 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.9011, allocations: 480.9 kB / 0.9538 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.9014, allocations: 111.2 kB / 0.9539 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.9015, allocations: 57.56 kB / 0.9539 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.9016, allocations: 1.469 kB / 0.9539 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.9016, allocations: 31.81 kB / 0.954 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.9016, allocations: 0 / 0.954 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005354/0.9022, allocations: 162.9 kB / 0.9541 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.9022, allocations: 56.47 kB / 0.9542 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.9023, allocations: 153.1 kB / 0.9543 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.9023, allocations: 29.7 kB / 0.9544 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.9024, allocations: 135.8 kB / 0.9545 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.9024, allocations: 27.97 kB / 0.9545 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.9025, allocations: 33.23 kB / 0.9545 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.9025, allocations: 325.5 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.9027, allocations: 55.33 kB / 0.9549 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.9028, allocations: 65.84 kB / 0.955 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.9031, allocations: 109 kB / 0.9551 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9031, allocations: 0 / 0.9551 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003344/0.9035, allocations: 143.1 kB / 0.9552 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9035, allocations: 6.438 kB / 0.9552 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9035, allocations: 5.312 kB / 0.9552 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9035, allocations: 1.969 kB / 0.9552 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.9037, allocations: 30.39 kB / 0.9553 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.9037, allocations: 5.391 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.9038, allocations: 14.66 kB / 0.9553 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.9038, allocations: 12.58 kB / 0.9553 GB, free: 4.695 MB / 0.7169 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 8.472e-05/0.9039, allocations: 125.8 kB / 0.9554 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.9039, allocations: 13.5 kB / 0.9554 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.904, allocations: 15.03 kB / 0.9554 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.904, allocations: 1.312 kB / 0.9554 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.904, allocations: 3.938 kB / 0.9554 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.904, allocations: 5.281 kB / 0.9554 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.9042, allocations: 236.8 kB / 0.9557 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9042, allocations: 0 / 0.9557 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.9043, allocations: 18.23 kB / 0.9557 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9043, allocations: 1.156 kB / 0.9557 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.9044, allocations: 5.078 kB / 0.9557 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9044, allocations: 4 kB / 0.9557 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9044, allocations: 1.062 kB / 0.9557 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.9047, allocations: 233 kB / 0.9559 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.9047, allocations: 88.7 kB / 0.956 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.9048, allocations: 5.062 kB / 0.956 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9049, allocations: 16.77 kB / 0.956 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.905, allocations: 17.92 kB / 0.956 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.905, allocations: 2.562 kB / 0.956 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.905, allocations: 113.7 kB / 0.9562 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.905, allocations: 1.125 kB / 0.9562 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002486/0.9053, allocations: 24.56 kB / 0.9562 GB, free: 3.863 MB / 0.7169 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.0001253/0.9054, allocations: 103.6 kB / 0.9563 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.9058, allocations: 118.8 kB / 0.9564 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9058, allocations: 0 / 0.9564 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.906, allocations: 61.64 kB / 0.9564 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.9063, allocations: 11.36 kB / 0.9565 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.9068, allocations: 263.8 kB / 0.9567 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.907, allocations: 0.7147 MB / 0.9574 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.9071, allocations: 21.12 kB / 0.9574 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.9071, allocations: 15.5 kB / 0.9574 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9071, allocations: 3.938 kB / 0.9574 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of Templates: time 0.003902/0.911, allocations: 1.214 MB / 0.9586 GB, free: 2.164 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches