Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.001669/0.001669, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00205/0.00205, allocations: 222.5 kB / 23.03 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.131/3.131, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",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.001998/0.001998, allocations: 65.67 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3559, allocations: 179 MB / 1.345 GB, free: 32 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002547/0.3584, allocations: 0.8247 MB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3602, allocations: 1.174 MB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.3602, allocations: 4 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3603, allocations: 15.86 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.3605, allocations: 23.84 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.361, allocations: 152.5 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000449/0.3614, allocations: 343.4 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3616, allocations: 66.59 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.3617, allocations: 151.7 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.362, allocations: 139.6 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.362, allocations: 35.94 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3622, allocations: 51.97 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.3622, allocations: 39.92 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.3624, allocations: 123.6 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.3629, allocations: 411 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3629, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3629, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3629, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009112/0.3638, allocations: 0.5103 MB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3638, allocations: 11.97 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.558e-05/0.3639, allocations: 8.172 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.3639, allocations: 46.73 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.364, allocations: 28.8 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3644, allocations: 228 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.3644, allocations: 24.36 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.3645, allocations: 24.38 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.3648, allocations: 185.9 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3648, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3649, allocations: 8 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3649, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.3651, allocations: 151.9 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.3661, allocations: 0.5657 MB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.3663, allocations: 126.4 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3664, allocations: 72.98 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3664, allocations: 7.922 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.3667, allocations: 175.2 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3667, allocations: 0 / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.000539/0.3672, allocations: 300 kB / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.3673, allocations: 63.33 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3675, allocations: 190.2 kB / 1.351 GB, free: 9.613 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.3675, allocations: 33.7 kB / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3676, allocations: 140.4 kB / 1.351 GB, free: 9.434 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.3677, allocations: 43.67 kB / 1.352 GB, free: 9.391 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.3679, allocations: 85.67 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.368, allocations: 330.8 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/0.3684, allocations: 324.9 kB / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.3689, allocations: 377.8 kB / 1.353 GB, free: 8.223 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.3694, allocations: 401.1 kB / 1.353 GB, free: 7.789 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3694, allocations: 3.938 kB / 1.353 GB, free: 7.785 MB / 1.045 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001035/0.3704, allocations: 0.7296 MB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.3705, allocations: 99.12 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3705, allocations: 0 / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3705, allocations: 4 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3706, allocations: 16.2 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3707, allocations: 15.88 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.3711, allocations: 99.81 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.3712, allocations: 19.98 kB / 1.354 GB, free: 6.746 MB / 1.045 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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.0001813/0.3714, allocations: 177.8 kB / 1.354 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3714, allocations: 15.91 kB / 1.354 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.3718, allocations: 231.2 kB / 1.354 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3718, allocations: 4 kB / 1.354 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3718, allocations: 0 / 1.354 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3718, allocations: 3.984 kB / 1.354 GB, free: 6.305 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.372, allocations: 240.5 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.372, allocations: 0 / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.3721, allocations: 12 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3721, allocations: 0 / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3721, allocations: 3.984 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3721, allocations: 8 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3721, allocations: 0 / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.3725, allocations: 248.7 kB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.3725, allocations: 15.95 kB / 1.355 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3725, allocations: 3.984 kB / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.3726, allocations: 4 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.3726, allocations: 15.97 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3726, allocations: 8 kB / 1.355 GB, free: 5.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3727, allocations: 135.5 kB / 1.355 GB, free: 5.562 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3727, allocations: 0 / 1.355 GB, free: 5.562 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003009/0.373, allocations: 75.89 kB / 1.355 GB, free: 5.488 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006643/0.3737, allocations: 0.7959 MB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007935/0.3745, allocations: 0.6122 MB / 1.356 GB, free: 4 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3745, allocations: 0 / 1.356 GB, free: 4 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.3746, allocations: 87.92 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3749, allocations: 40.42 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.3792, allocations: 3.583 MB / 1.36 GB, free: 72 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3793, allocations: 139.9 kB / 1.36 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.205e-05/0.3794, allocations: 29.41 kB / 1.36 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.3795, allocations: 51.36 kB / 1.36 GB, free: 15.84 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3795, allocations: 0 / 1.36 GB, free: 15.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.409, allocations: 6.176 MB / 1.366 GB, free: 9.875 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 6.688 kB / 1.366 GB, free: 9.871 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.335750627913512] Failed to read output from testmodel.py, exit status != 0: 11.835707776015624 11.860849334 11.493989618 Calling exit ...