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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001095/0.001095, allocations: 99.42 kB / 16.02 MB, free: 76 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.001425/0.001424, allocations: 186.7 kB / 16.92 MB, free: 6.75 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.525/1.525, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.542/2.542, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004047, allocations: 12 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.8152, allocations: 142.4 MB / 0.9558 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001252/0.8165, allocations: 0.7035 MB / 0.9564 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.8176, allocations: 0.9629 MB / 0.9574 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.8177, allocations: 1.75 kB / 0.9574 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.8177, allocations: 7.922 kB / 0.9574 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.8179, allocations: 17.98 kB / 0.9574 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.8181, allocations: 53.11 kB / 0.9575 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.8183, allocations: 150.1 kB / 0.9576 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.8185, allocations: 78.06 kB / 0.9577 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.8186, allocations: 52.08 kB / 0.9577 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.8187, allocations: 53.36 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.8188, allocations: 4.344 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.135e-05/0.8188, allocations: 8.5 kB / 0.9578 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.8188, allocations: 16.52 kB / 0.9578 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.8189, allocations: 80.75 kB / 0.9579 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.819, allocations: 151.4 kB / 0.958 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8191, allocations: 0 / 0.958 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8191, allocations: 3.938 kB / 0.958 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8191, allocations: 0 / 0.958 GB, free: 5.941 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.0005826/0.8197, allocations: 431 kB / 0.9584 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8197, allocations: 8.406 kB / 0.9585 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.8198, allocations: 17.44 kB / 0.9585 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.8202, allocations: 261.7 kB / 0.9587 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.8202, allocations: 13.98 kB / 0.9587 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.8203, allocations: 17.47 kB / 0.9588 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.8206, allocations: 150.9 kB / 0.9589 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8206, allocations: 0 / 0.9589 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8206, allocations: 5.375 kB / 0.9589 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.8207, allocations: 4.719 kB / 0.9589 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.821, allocations: 127.9 kB / 0.959 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.8217, allocations: 472.1 kB / 0.9595 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.8219, allocations: 108.7 kB / 0.9596 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.8221, allocations: 59.8 kB / 0.9596 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.8221, allocations: 1.344 kB / 0.9596 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.8222, allocations: 31.91 kB / 0.9597 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.8222, allocations: 0 / 0.9597 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005707/0.8227, allocations: 191.3 kB / 0.9599 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.8228, allocations: 52.78 kB / 0.9599 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.8229, allocations: 161.1 kB / 0.9601 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.8229, allocations: 25.7 kB / 0.9601 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.823, allocations: 124 kB / 0.9602 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.823, allocations: 35.66 kB / 0.9602 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.8231, allocations: 20.59 kB / 0.9603 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.8231, allocations: 329.5 kB / 0.9606 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.8233, allocations: 51.45 kB / 0.9606 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.8235, allocations: 76.34 kB / 0.9607 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.8238, allocations: 119.7 kB / 0.9608 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8238, allocations: 1.375 kB / 0.9608 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003631/0.8241, allocations: 166.8 kB / 0.961 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.8242, allocations: 5.5 kB / 0.961 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8242, allocations: 1.375 kB / 0.961 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.8242, allocations: 1.375 kB / 0.961 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.8244, allocations: 32.69 kB / 0.961 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.8244, allocations: 1.375 kB / 0.961 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.8245, allocations: 22.62 kB / 0.961 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.8245, allocations: 11.92 kB / 0.961 GB, free: 3.41 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.856e-05/0.8246, allocations: 134.6 kB / 0.9612 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.8247, allocations: 13.78 kB / 0.9612 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.8247, allocations: 14.06 kB / 0.9612 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8247, allocations: 1.375 kB / 0.9612 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8248, allocations: 1 kB / 0.9612 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8248, allocations: 0 / 0.9612 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.825, allocations: 233.1 kB / 0.9614 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.825, allocations: 0.6562 kB / 0.9614 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.8251, allocations: 21.27 kB / 0.9614 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8251, allocations: 3.984 kB / 0.9614 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.8251, allocations: 5.625 kB / 0.9614 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8252, allocations: 1 kB / 0.9614 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8252, allocations: 0 / 0.9614 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.8256, allocations: 252.4 kB / 0.9617 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.8256, allocations: 84.08 kB / 0.9618 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.8256, allocations: 1.094 kB / 0.9618 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.8258, allocations: 12.23 kB / 0.9618 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.8259, allocations: 13.98 kB / 0.9618 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.8259, allocations: 10.98 kB / 0.9618 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.8259, allocations: 111.6 kB / 0.9619 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8259, allocations: 4 kB / 0.9619 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000264/0.8262, allocations: 30 kB / 0.9619 GB, free: 2.582 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.0001419/0.8264, allocations: 100.5 kB / 0.962 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.8268, allocations: 121.6 kB / 0.9622 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8268, allocations: 3.938 kB / 0.9622 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.827, allocations: 65.95 kB / 0.9622 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.8273, allocations: 15.77 kB / 0.9622 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.8279, allocations: 349.6 kB / 0.9626 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.8281, allocations: 0.7155 MB / 0.9633 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.8282, allocations: 15.81 kB / 0.9633 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.8282, allocations: 0 / 0.9633 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.003635/0.8318, allocations: 1.617 MB / 0.9649 GB, free: 0.5664 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/jenkins1/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