Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 116.4 kB / 16.37 MB, free: 6 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.001817/0.001817, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.449/1.449, 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.2-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 0.6655 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 63.09 kB / 0.8141 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 140.4 MB / 0.9512 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.00244/0.3163, allocations: 1.016 MB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3176, allocations: 0.9713 MB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3177, allocations: 4 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.471e-05/0.3178, allocations: 15.8 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.3179, allocations: 23.73 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.3181, allocations: 63.92 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.3183, allocations: 164 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.3186, allocations: 86.23 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3187, allocations: 71.72 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3189, allocations: 71.69 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3189, allocations: 16 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.909e-05/0.3189, allocations: 20 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.319, allocations: 43.83 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.3191, allocations: 71.59 kB / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3193, allocations: 203.2 kB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3193, allocations: 0 / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3193, allocations: 0 / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3193, allocations: 0 / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007068/0.3201, allocations: 459.1 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3201, allocations: 8.031 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.3202, allocations: 16.75 kB / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.3206, allocations: 256.2 kB / 0.9546 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3206, allocations: 12.66 kB / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3207, allocations: 12.38 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.321, allocations: 152 kB / 0.9548 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.321, allocations: 0 / 0.9548 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.321, allocations: 4 kB / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3211, allocations: 4 kB / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.3214, allocations: 120.7 kB / 0.9549 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.3221, allocations: 472.1 kB / 0.9554 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3223, allocations: 110.5 kB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3225, allocations: 48.89 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3225, allocations: 3.938 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3226, allocations: 42.56 kB / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3226, allocations: 0 / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005145/0.3231, allocations: 157.5 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3231, allocations: 59.41 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3233, allocations: 153.7 kB / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3233, allocations: 25.7 kB / 0.956 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.3234, allocations: 132 kB / 0.9561 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3234, allocations: 35.53 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.3235, allocations: 37.7 kB / 0.9562 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3236, allocations: 322.8 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3237, allocations: 39.97 kB / 0.9565 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.3239, allocations: 75.39 kB / 0.9566 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.3242, allocations: 99.33 kB / 0.9567 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3242, allocations: 0 / 0.9567 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003332/0.3245, allocations: 161.7 kB / 0.9568 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3245, allocations: 9.859 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3246, allocations: 0 / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3246, allocations: 4 kB / 0.9568 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3247, allocations: 27.92 kB / 0.9569 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3248, allocations: 4 kB / 0.9569 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.3249, allocations: 20.08 kB / 0.9569 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3249, allocations: 7.938 kB / 0.9569 GB, free: 1.859 MB / 0.7325 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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.0001081/0.325, allocations: 121.8 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.325, allocations: 11.81 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.3251, allocations: 20.7 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3251, allocations: 0 / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3251, allocations: 0 / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3251, allocations: 0 / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.3254, allocations: 233.5 kB / 0.9573 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3254, allocations: 4 kB / 0.9573 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3255, allocations: 23.92 kB / 0.9573 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3255, allocations: 0 / 0.9573 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3255, allocations: 4 kB / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3255, allocations: 0 / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3255, allocations: 4 kB / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.3259, allocations: 227.3 kB / 0.9575 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.326, allocations: 92.91 kB / 0.9576 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.326, allocations: 7.938 kB / 0.9576 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3261, allocations: 7.984 kB / 0.9576 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.3262, allocations: 15.98 kB / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3262, allocations: 4 kB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.3263, allocations: 121.2 kB / 0.9578 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3263, allocations: 0 / 0.9578 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002483/0.3265, allocations: 23.94 kB / 0.9578 GB, free: 0.8594 MB / 0.7325 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0001388/0.3267, allocations: 107.2 kB / 0.9579 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.327, allocations: 107.8 kB / 0.958 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.327, allocations: 4 kB / 0.958 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.3272, allocations: 60.09 kB / 0.958 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3275, allocations: 15.98 kB / 0.9581 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.3281, allocations: 260.6 kB / 0.9583 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.3284, allocations: 0.7196 MB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.765e-05/0.3285, allocations: 20.62 kB / 0.959 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.3285, allocations: 19.42 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.3285, allocations: 0 / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.004281/0.3328, allocations: 1.228 MB / 0.9602 GB, free: 14.31 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches