Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00165/0.00165, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002069/0.002069, allocations: 214 kB / 23.04 MB, free: 5.078 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.289/3.289, allocations: 0.49 GB / 0.7959 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) [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.002031/0.002031, allocations: 68.36 kB / 1.155 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4031, allocations: 176.1 MB / 1.327 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003047/0.4061, allocations: 1.444 MB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.4077, allocations: 1.139 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.4078, allocations: 4 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.083e-05/0.4079, allocations: 39.47 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.4081, allocations: 43.61 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.4084, allocations: 131.8 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.4088, allocations: 340.6 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.4091, allocations: 154.5 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.4094, allocations: 151.4 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.4095, allocations: 147.3 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.4096, allocations: 40 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.75e-05/0.4097, allocations: 44 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.4098, allocations: 83.69 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.4099, allocations: 155.2 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.4105, allocations: 494.1 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4105, allocations: 4 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4105, allocations: 3.938 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.964e-06/0.4105, allocations: 3.938 kB / 1.331 GB, free: 13.61 MB / 1.029 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.0009031/0.4114, allocations: 0.5096 MB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.4115, allocations: 12.02 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.431e-05/0.4115, allocations: 9.188 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.506e-05/0.4116, allocations: 74.72 kB / 1.332 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.4118, allocations: 48.69 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.4123, allocations: 267.6 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.4124, allocations: 29.38 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.4124, allocations: 32.38 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.413, allocations: 290.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.413, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.413, allocations: 16 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.4131, allocations: 8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.4136, allocations: 243.8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.4149, allocations: 0.771 MB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.4154, allocations: 231.4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.4156, allocations: 105.3 kB / 1.334 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.4157, allocations: 4.234 kB / 1.334 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.4157, allocations: 34.8 kB / 1.334 GB, free: 10.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.4157, allocations: 0 / 1.334 GB, free: 10.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0008249/0.4165, allocations: 320.2 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4166, allocations: 55.41 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.4168, allocations: 207.7 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.4169, allocations: 29.7 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.417, allocations: 180.5 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.4171, allocations: 83.28 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4172, allocations: 73.91 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4173, allocations: 330.8 kB / 1.335 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4176, allocations: 80.52 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.4178, allocations: 147.8 kB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.4183, allocations: 222.7 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4183, allocations: 4 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000585/0.4189, allocations: 270.2 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4189, allocations: 8 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4189, allocations: 8.156 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4189, allocations: 7.938 kB / 1.336 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.4192, allocations: 55.91 kB / 1.336 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4192, allocations: 4 kB / 1.336 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4194, allocations: 27.81 kB / 1.336 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.4194, allocations: 12 kB / 1.336 GB, free: 8.625 MB / 1.029 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.000271/0.4197, allocations: 154.3 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.4197, allocations: 19.86 kB / 1.336 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000613/0.4203, allocations: 264.3 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4203, allocations: 4 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4203, allocations: 0 / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4203, allocations: 0 / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.4208, allocations: 320.4 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4208, allocations: 4 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.421, allocations: 39.97 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.421, allocations: 0 / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.421, allocations: 15.86 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.421, allocations: 7.938 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.421, allocations: 0 / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.4216, allocations: 323.4 kB / 1.337 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.4216, allocations: 23.8 kB / 1.337 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.4216, allocations: 7.938 kB / 1.337 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.4218, allocations: 11.98 kB / 1.337 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.4218, allocations: 27.95 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4219, allocations: 8 kB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001163/0.422, allocations: 137.5 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.422, allocations: 0 / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003187/0.4223, allocations: 63.73 kB / 1.337 GB, free: 7.148 MB / 1.029 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.0009473/0.4232, allocations: 0.8781 MB / 1.338 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.4238, allocations: 211.8 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4238, allocations: 0 / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.424, allocations: 111.8 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.4244, allocations: 26.91 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.4278, allocations: 2.407 MB / 1.341 GB, free: 3.375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.4283, allocations: 0.7673 MB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.4284, allocations: 30.22 kB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.4286, allocations: 103.4 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/0.4286, allocations: 4 kB / 1.341 GB, free: 2.449 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.4546, allocations: 4.367 MB / 1.346 GB, free: 14.28 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.03, allocations: 9.672 kB / 1.346 GB, free: 14.27 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.909625500033144] Failed to read output from testmodel.py, exit status != 0: 12.192857404006645 12.209579856 11.795848324 Calling exit ...