Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001711/0.001711, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001492/0.001492, allocations: 213.8 kB / 23.03 MB, free: 4.922 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.197/3.197, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="Buildings_latest_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.002216/0.002216, allocations: 62.91 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.324, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002514/0.3265, allocations: 1.027 MB / 1.346 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3287, allocations: 1.603 MB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.3289, allocations: 7.938 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.329, allocations: 19.73 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.3291, allocations: 39.66 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.3297, allocations: 214.2 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.3301, allocations: 331.3 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3303, allocations: 73.08 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3304, allocations: 135.6 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3306, allocations: 115.6 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.3307, allocations: 32 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3308, allocations: 47.94 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.3308, allocations: 55.83 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.331, allocations: 111.5 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.3314, allocations: 363 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3314, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3314, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.3314, allocations: 0 / 1.349 GB, free: 11.79 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009121/0.3323, allocations: 491.7 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3323, allocations: 8.031 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.3324, allocations: 8.453 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.3324, allocations: 46.73 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.3325, allocations: 28.8 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.3328, allocations: 206.2 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.3329, allocations: 24.66 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.3329, allocations: 20.38 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.3333, allocations: 183.7 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3333, allocations: 0 / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.3333, allocations: 8 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3333, allocations: 7.984 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.3337, allocations: 132.7 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.3346, allocations: 0.5383 MB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.3351, allocations: 174.8 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.3352, allocations: 68.81 kB / 1.351 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3353, allocations: 7.938 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000403/0.3357, allocations: 207.1 kB / 1.351 GB, free: 9.516 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.3357, allocations: 0 / 1.351 GB, free: 9.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.0007444/0.3364, allocations: 325.4 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.3364, allocations: 55.41 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3366, allocations: 186.2 kB / 1.352 GB, free: 8.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.3367, allocations: 41.69 kB / 1.352 GB, free: 8.883 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3368, allocations: 124.6 kB / 1.352 GB, free: 8.758 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.3369, allocations: 63.53 kB / 1.352 GB, free: 8.695 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.337, allocations: 77.61 kB / 1.352 GB, free: 8.613 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3371, allocations: 334.8 kB / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.3374, allocations: 137.3 kB / 1.353 GB, free: 8.137 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.3376, allocations: 203.5 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.338, allocations: 212.9 kB / 1.353 GB, free: 7.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.338, allocations: 0 / 1.353 GB, free: 7.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006033/0.3386, allocations: 373 kB / 1.353 GB, free: 7.301 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.3386, allocations: 41.69 kB / 1.353 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3386, allocations: 96 / 1.353 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3386, allocations: 8 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3388, allocations: 27.92 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.3388, allocations: 4 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.339, allocations: 47.84 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.3391, allocations: 16 kB / 1.354 GB, free: 7.152 MB / 1.045 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.0001683/0.3392, allocations: 165.7 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.3393, allocations: 19.86 kB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005656/0.3398, allocations: 272.3 kB / 1.354 GB, free: 6.688 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3398, allocations: 4 kB / 1.354 GB, free: 6.684 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3398, allocations: 0 / 1.354 GB, free: 6.684 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3399, allocations: 3.984 kB / 1.354 GB, free: 6.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.3408, allocations: 0.6072 MB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3408, allocations: 0 / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.341, allocations: 15.98 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.341, allocations: 4 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.341, allocations: 11.98 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.341, allocations: 0 / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.341, allocations: 3.938 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.3415, allocations: 364.1 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.3416, allocations: 23.8 kB / 1.355 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.3416, allocations: 15.98 kB / 1.355 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3418, allocations: 11.98 kB / 1.355 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.3419, allocations: 31.89 kB / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.3419, allocations: 15.98 kB / 1.355 GB, free: 5.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001128/0.342, allocations: 127.2 kB / 1.355 GB, free: 5.395 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.342, allocations: 0 / 1.355 GB, free: 5.395 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003252/0.3423, allocations: 59.94 kB / 1.355 GB, free: 5.336 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: 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.0009531/0.3433, allocations: 0.9212 MB / 1.356 GB, free: 4.387 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006349/0.3439, allocations: 324.8 kB / 1.356 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3439, allocations: 0 / 1.356 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.3441, allocations: 95.89 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3446, allocations: 57.31 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.3478, allocations: 2.531 MB / 1.359 GB, free: 1.246 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.3479, allocations: 117.3 kB / 1.359 GB, free: 1.113 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000107/0.348, allocations: 33.92 kB / 1.359 GB, free: 1.078 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3481, allocations: 67.41 kB / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/0.3481, allocations: 0 / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.3754, allocations: 5.592 MB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.24, allocations: 8.422 kB / 1.365 GB, free: 11.61 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.936885114060715] Failed to read output from testmodel.py, exit status != 0: 12.405758950975724 12.428616528 12.093025573 Calling exit ...