Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0007763/0.0007763, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0007591/0.0007591, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8694/0.8694, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5509/0.5509, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.529e-05, allocations: 6.109 kB / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001154/0.001169, allocations: 0.7188 MB / 0.5549 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.002148, allocations: 1.092 MB / 0.556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.002185, allocations: 0 / 0.556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.002213, allocations: 7.875 kB / 0.556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.002274, allocations: 15.86 kB / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.002586, allocations: 51.77 kB / 0.5561 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.002678, allocations: 75.75 kB / 0.5561 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.893e-05/0.002767, allocations: 16.19 kB / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.00284, allocations: 39.91 kB / 0.5562 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.002883, allocations: 27.95 kB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.002898, allocations: 7.938 kB / 0.5562 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.823e-05/0.002946, allocations: 19.92 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.002968, allocations: 19.97 kB / 0.5562 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.002996, allocations: 15.94 kB / 0.5563 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003119, allocations: 83.73 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.00312, allocations: 0 / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003121, allocations: 0 / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.003124, allocations: 0 / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003649/0.003489, allocations: 310.1 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.003523, allocations: 8.625 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.003549, allocations: 34.75 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.003574, allocations: 8.891 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.003645, allocations: 125.7 kB / 0.5568 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.003656, allocations: 8.312 kB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.003666, allocations: 4.375 kB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.003789, allocations: 62.23 kB / 0.5569 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003796, allocations: 192 / 0.5569 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.003807, allocations: 12.36 kB / 0.5569 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.003812, allocations: 7.938 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.003898, allocations: 35.97 kB / 0.5569 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.00429, allocations: 283.8 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.004406, allocations: 58.5 kB / 0.5573 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.004458, allocations: 32.95 kB / 0.5573 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.004474, allocations: 0 / 0.5573 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.004588, allocations: 79.41 kB / 0.5574 GB, free: 14.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.004589, allocations: 0 / 0.5574 GB, free: 14.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002471/0.004836, allocations: 133.6 kB / 0.5575 GB, free: 14.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.004867, allocations: 51.41 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.004932, allocations: 125.7 kB / 0.5577 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.004946, allocations: 41.69 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.004983, allocations: 88.09 kB / 0.5578 GB, free: 13.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.004996, allocations: 15.84 kB / 0.5578 GB, free: 13.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.005032, allocations: 29.7 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.005101, allocations: 322.8 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.005156, allocations: 23.98 kB / 0.5582 GB, free: 13.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.005232, allocations: 81.91 kB / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.005366, allocations: 109.9 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005368, allocations: 0 / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001672/0.005535, allocations: 137.4 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005546, allocations: 8 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.00555, allocations: 0 / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.00556, allocations: 4 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.005631, allocations: 15.98 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.005635, allocations: 0 / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.005677, allocations: 15.98 kB / 0.5585 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.005686, allocations: 4.312 kB / 0.5585 GB, free: 13.03 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.83e-05/0.005744, allocations: 131.2 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.005752, allocations: 7.953 kB / 0.5587 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.00577, allocations: 12.42 kB / 0.5587 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.005772, allocations: 4 kB / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005776, allocations: 0 / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005778, allocations: 0 / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.006043, allocations: 341.5 kB / 0.559 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006044, allocations: 3.984 kB / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.006068, allocations: 11.98 kB / 0.559 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.00607, allocations: 4 kB / 0.559 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.006076, allocations: 3.938 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.006077, allocations: 4 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006078, allocations: 0 / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.006229, allocations: 207.3 kB / 0.5592 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.006237, allocations: 7.953 kB / 0.5592 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.006247, allocations: 4 kB / 0.5592 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.006289, allocations: 11.92 kB / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.006318, allocations: 7.984 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.006324, allocations: 7.938 kB / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.006358, allocations: 94 kB / 0.5593 GB, free: 12.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006358, allocations: 0 / 0.5593 GB, free: 12.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.006527, allocations: 20 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003363/0.006863, allocations: 0.7417 MB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.007012, allocations: 79.81 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.007014, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.007069, allocations: 27.98 kB / 0.5602 GB, free: 11.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.007259, allocations: 27.86 kB / 0.5602 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.008285, allocations: 1.516 MB / 0.5617 GB, free: 9.551 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.00833, allocations: 75.33 kB / 0.5618 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.008354, allocations: 7.984 kB / 0.5618 GB, free: 9.449 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.008391, allocations: 24.5 kB / 0.5618 GB, free: 9.426 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008392, allocations: 0 / 0.5618 GB, free: 9.426 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02346, allocations: 2.828 MB / 0.5646 GB, free: 6.824 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.813, allocations: 5.688 kB / 0.5646 GB, free: 6.82 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.137302128598094] Failed to read output from testmodel.py, exit status != 0: 6.896927806548774 6.9089969 6.903319466 Calling exit ...