Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 214 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.725/2.725, allocations: 476 MB / 0.7707 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 65.64 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 169.9 MB / 1.284 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003164/0.306, allocations: 1.316 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3079, allocations: 1.12 MB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.3081, allocations: 8 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.3082, allocations: 35.53 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.3084, allocations: 55.53 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.3088, allocations: 119.8 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.3093, allocations: 344.6 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.3096, allocations: 150.4 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.3099, allocations: 143.4 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.3101, allocations: 119.3 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.3102, allocations: 44 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.3103, allocations: 47.98 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.3104, allocations: 87.64 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3105, allocations: 123.4 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.3111, allocations: 497.8 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3111, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3111, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.3111, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001005/0.3121, allocations: 0.5135 MB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3122, allocations: 12.03 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.3124, allocations: 48.69 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3129, allocations: 255.7 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.313, allocations: 29.38 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.313, allocations: 32.38 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.3136, allocations: 287.1 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3137, allocations: 8.109 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3137, allocations: 23.94 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.3137, allocations: 19.92 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.3142, allocations: 235.8 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.3155, allocations: 0.6623 MB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.316, allocations: 231.4 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.3162, allocations: 101.3 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.3163, allocations: 4.234 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.3163, allocations: 38.8 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 2.334e-06/0.3163, allocations: 0 / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0007867/0.3171, allocations: 312.2 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3172, allocations: 55.34 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3174, allocations: 215.7 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3174, allocations: 33.7 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3176, allocations: 180.4 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.3177, allocations: 83.31 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3178, allocations: 69.97 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3179, allocations: 330.8 kB / 1.292 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.3182, allocations: 80.52 kB / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3184, allocations: 135.9 kB / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.3189, allocations: 214.7 kB / 1.292 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3189, allocations: 4 kB / 1.292 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005921/0.3195, allocations: 282.2 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3195, allocations: 4 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3195, allocations: 4 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3195, allocations: 0 / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3198, allocations: 59.89 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3198, allocations: 12.16 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3199, allocations: 35.77 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.3199, allocations: 8 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (34): * Single equations (assignments): 34 * 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.0003222/0.3203, allocations: 150.3 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.3203, allocations: 19.91 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.3209, allocations: 256.1 kB / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.3209, allocations: 4 kB / 1.293 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.3209, allocations: 3.938 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3209, allocations: 3.984 kB / 1.293 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.3213, allocations: 245.1 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3213, allocations: 3.938 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3214, allocations: 39.91 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3214, allocations: 4 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3215, allocations: 4 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3215, allocations: 4 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3215, allocations: 4 kB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.322, allocations: 331.2 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.322, allocations: 23.8 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3221, allocations: 4 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3222, allocations: 11.98 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.3223, allocations: 35.89 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3223, allocations: 11.94 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001242/0.3224, allocations: 141.5 kB / 1.294 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3224, allocations: 0 / 1.294 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003067/0.3227, allocations: 59.78 kB / 1.294 GB, free: 1.457 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001432/0.3229, allocations: 116.4 kB / 1.294 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005202/0.3234, allocations: 212.9 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3234, allocations: 4 kB / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.3236, allocations: 107.8 kB / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.3239, allocations: 22.23 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.3249, allocations: 0.4958 MB / 1.295 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.3251, allocations: 163.4 kB / 1.295 GB, free: 300 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.3252, allocations: 31.44 kB / 1.295 GB, free: 272 kB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.3252, allocations: 0 / 1.295 GB, free: 272 kB / 0.9825 GB Notification: Performance of Templates: time 0.005792/0.3309, allocations: 3.148 MB / 1.298 GB, free: 13.12 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.869918121024966]