Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 106.5 kB / 16.41 MB, free: 6.453 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.002018/0.002018, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.377/2.377, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 59.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9149, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002421/0.9174, allocations: 1.015 MB / 1.09 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.9185, allocations: 0.9589 MB / 1.091 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.9186, allocations: 1.938 kB / 1.091 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.693e-05/0.9187, allocations: 15.81 kB / 1.091 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.9188, allocations: 23.28 kB / 1.091 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.919, allocations: 68.05 kB / 1.091 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.9192, allocations: 158.6 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.9194, allocations: 86.2 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.9196, allocations: 68.3 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.9197, allocations: 71.91 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.9198, allocations: 16.03 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.917e-05/0.9198, allocations: 19.97 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.9198, allocations: 29.91 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.9199, allocations: 76.36 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.9202, allocations: 203.8 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.9202, allocations: 4 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9202, allocations: 0.7188 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.9202, allocations: 0 / 1.091 GB, free: 3.965 MB / 0.8575 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.0006166/0.9209, allocations: 439.6 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9209, allocations: 10.23 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.921, allocations: 20.84 kB / 1.092 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.9214, allocations: 255.7 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.9214, allocations: 10.09 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.9215, allocations: 13.75 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.9219, allocations: 142.2 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9219, allocations: 0 / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.9219, allocations: 5.656 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.9219, allocations: 4.125 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.9223, allocations: 115.2 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.9232, allocations: 472.6 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.9235, allocations: 100.2 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.9237, allocations: 54.27 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.9237, allocations: 9.609 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.9238, allocations: 40.02 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.9238, allocations: 0 / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0006309/0.9244, allocations: 161.3 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.9244, allocations: 58.12 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.9246, allocations: 156.6 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.9246, allocations: 26.7 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.9247, allocations: 123.1 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.9247, allocations: 31.11 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.9248, allocations: 38.02 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.9249, allocations: 325.2 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.9251, allocations: 47.7 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.9253, allocations: 73.25 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.9256, allocations: 111.3 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9256, allocations: 0 / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004104/0.9261, allocations: 151.6 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.9261, allocations: 5.984 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.9261, allocations: 0.625 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.9261, allocations: 6.438 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.9263, allocations: 24.06 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9263, allocations: 6.797 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.9265, allocations: 17.91 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.9265, allocations: 8.516 kB / 1.094 GB, free: 1.719 MB / 0.8575 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.0001015/0.9266, allocations: 124.4 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.9266, allocations: 12.5 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.9267, allocations: 21.3 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9267, allocations: 1.094 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9267, allocations: 4.906 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.9267, allocations: 1.359 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.927, allocations: 230.9 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.927, allocations: 0.75 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.9271, allocations: 23.59 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.9271, allocations: 0.6562 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.9272, allocations: 6.203 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.9272, allocations: 0.875 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9272, allocations: 4.719 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.9276, allocations: 224.4 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.9276, allocations: 93.28 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.9277, allocations: 1.453 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.9278, allocations: 12.02 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.9279, allocations: 19.47 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.9279, allocations: 3.703 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.254e-05/0.928, allocations: 121.2 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.928, allocations: 0 / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002664/0.9283, allocations: 17.84 kB / 1.095 GB, free: 0.9648 MB / 0.8575 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.0001475/0.9284, allocations: 110.2 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.9289, allocations: 109.2 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9289, allocations: 4.719 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.9291, allocations: 53.89 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.9294, allocations: 18 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.93, allocations: 296.5 kB / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.9302, allocations: 0.7105 MB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.9303, allocations: 18.52 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.9303, allocations: 0 / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.00431/0.9346, allocations: 1.662 MB / 1.098 GB, free: 15.72 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches