Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001302/0.001302, 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.001567/0.001567, allocations: 219.4 kB / 23.05 MB, free: 5.074 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 33.35 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.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",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.00198/0.00198, allocations: 72.66 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3185, allocations: 176.1 MB / 1.327 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002455/0.321, allocations: 1.095 MB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3236, allocations: 1.658 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3237, allocations: 7.938 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.3239, allocations: 19.73 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.324, allocations: 47.66 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.3247, allocations: 230.3 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.3251, allocations: 327.3 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3253, allocations: 59.02 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.3255, allocations: 127.6 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.3257, allocations: 127.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.3258, allocations: 35.94 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3259, allocations: 44 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.3259, allocations: 55.81 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.3261, allocations: 127.5 kB / 1.331 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.3265, allocations: 363 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3265, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3266, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.3266, allocations: 0 / 1.331 GB, free: 13.7 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009573/0.3275, allocations: 487.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3276, allocations: 8.031 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.593e-05/0.3276, allocations: 8.469 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.3276, allocations: 50.73 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.583e-05/0.3277, allocations: 24.84 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.3281, allocations: 210.1 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.3282, allocations: 16.66 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.3282, allocations: 24.38 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.3286, allocations: 183.7 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3286, allocations: 8 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.3287, allocations: 11.98 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3287, allocations: 4 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.329, allocations: 128.8 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3301, allocations: 0.6123 MB / 1.333 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.3305, allocations: 170.8 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.3307, allocations: 83.02 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3307, allocations: 7.922 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/0.3311, allocations: 213.2 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.3311, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0007554/0.3319, allocations: 323.8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.332, allocations: 55.41 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3321, allocations: 186.7 kB / 1.334 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.3322, allocations: 45.7 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3323, allocations: 124.6 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.3324, allocations: 67.53 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3325, allocations: 65.69 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3326, allocations: 334.8 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3329, allocations: 95.95 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.3331, allocations: 148.7 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.3334, allocations: 208.9 kB / 1.335 GB, free: 9.645 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3334, allocations: 0 / 1.335 GB, free: 9.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005833/0.334, allocations: 335.8 kB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.3341, allocations: 41.69 kB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3341, allocations: 4.094 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3341, allocations: 4 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3342, allocations: 27.92 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3342, allocations: 4 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.3345, allocations: 53.69 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.3345, allocations: 8 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001693/0.3347, allocations: 165.7 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3347, allocations: 19.94 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.3353, allocations: 271.4 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3353, allocations: 0 / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3353, allocations: 0 / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3353, allocations: 7.984 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.3363, allocations: 0.636 MB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3363, allocations: 4 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.3364, allocations: 16 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3364, allocations: 3.984 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3364, allocations: 4 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3364, allocations: 3.938 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3364, allocations: 7.875 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.3369, allocations: 359.7 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.337, allocations: 27.83 kB / 1.337 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.337, allocations: 8 kB / 1.337 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3372, allocations: 15.98 kB / 1.337 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.3373, allocations: 27.89 kB / 1.337 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.3373, allocations: 15.98 kB / 1.337 GB, free: 7.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001091/0.3374, allocations: 123.2 kB / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3374, allocations: 3.938 kB / 1.337 GB, free: 7.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003362/0.3378, allocations: 71.88 kB / 1.337 GB, free: 7.309 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0009245/0.3387, allocations: 0.9017 MB / 1.338 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.3392, allocations: 294.4 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3392, allocations: 0 / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.3395, allocations: 95.89 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3399, allocations: 39.91 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.3431, allocations: 2.405 MB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3434, allocations: 0.7324 MB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.3435, allocations: 26.02 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3436, allocations: 59.42 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3436, allocations: 0 / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.3709, allocations: 5.403 MB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.89, allocations: 6.812 kB / 1.346 GB, free: 13.37 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.679611945990473] Failed to read output from testmodel.py, exit status != 0: 12.056343977048527 12.082213661 11.751052921 Calling exit ...