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.001131/0.001131, allocations: 109.1 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.001299/0.001299, allocations: 187.9 kB / 17.35 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.365/1.365, 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 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9323/0.9336, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002222/0.9358, allocations: 1.009 MB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.937, allocations: 0.9651 MB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.9371, allocations: 2.438 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.9372, allocations: 15.38 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.9373, allocations: 32.31 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.9375, allocations: 61.3 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.9377, allocations: 153 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.9379, allocations: 82.34 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.9381, allocations: 76.08 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.9382, allocations: 71.58 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.9383, allocations: 20.44 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.9383, allocations: 15.81 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.9384, allocations: 38.16 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.9384, allocations: 68.14 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.9387, allocations: 205.2 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9388, allocations: 1.406 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9388, allocations: 0 / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.9388, allocations: 0 / 1.091 GB, free: 3.691 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.0006094/0.9394, allocations: 446.8 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.9394, allocations: 8.656 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.9395, allocations: 16.88 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.9399, allocations: 256 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.94, allocations: 10.84 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.94, allocations: 12.81 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.9403, allocations: 149.3 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9404, allocations: 4.641 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.9404, allocations: 5.406 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.9404, allocations: 3.844 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.9408, allocations: 111.8 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.9415, allocations: 472.1 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.9418, allocations: 104.7 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.9419, allocations: 49.92 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.942, allocations: 1.469 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.942, allocations: 40.73 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.942, allocations: 3.938 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005725/0.9426, allocations: 165.3 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.9426, allocations: 53.41 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.9428, allocations: 153.5 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.9428, allocations: 33.7 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.9428, allocations: 124.4 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.9429, allocations: 29.98 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.9429, allocations: 39.16 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.943, allocations: 324.6 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.9432, allocations: 43.53 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.9433, allocations: 72.92 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.9436, allocations: 103.2 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9436, allocations: 4 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000398/0.9441, allocations: 151.7 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.9441, allocations: 5.469 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.9441, allocations: 1.734 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.9441, allocations: 2.25 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.9443, allocations: 28.19 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9443, allocations: 2.062 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.9444, allocations: 17.73 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.9445, allocations: 5.766 kB / 1.094 GB, free: 1.453 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 8.341e-05/0.9446, allocations: 136 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.9446, allocations: 12.72 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.9446, allocations: 16.31 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9446, allocations: 1.484 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9447, allocations: 0.7969 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.9447, allocations: 88.52 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.9447, allocations: 5.469 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.9448, allocations: 8.562 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.9449, allocations: 20.12 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004867/0.9454, allocations: 216.2 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000462/0.9459, allocations: 305.8 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001907/0.9461, allocations: 59.19 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.84e-05/0.9462, allocations: 108.6 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of Backend: time 2.11e-07/0.9462, allocations: 0 / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006512/0.9468, allocations: 163.2 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0009191/0.9478, allocations: 0.6869 MB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.006206/0.954, allocations: 1.361 MB / 1.097 GB, free: 15.86 MB / 0.8731 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