Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001359/0.001359, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001502/0.001502, allocations: 214.5 kB / 23.04 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.263/3.263, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 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.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.0019/0.0019, allocations: 65.3 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3281, allocations: 179 MB / 1.345 GB, free: 412 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001832/0.33, allocations: 0.8439 MB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3317, allocations: 1.51 MB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.3318, allocations: 4 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.402e-05/0.3318, allocations: 15.8 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.3319, allocations: 35.7 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.333, allocations: 0.5304 MB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004912/0.3335, allocations: 471.2 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3336, allocations: 29.67 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.3338, allocations: 187.7 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.334, allocations: 175.5 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.3341, allocations: 40 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3342, allocations: 55.98 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.3342, allocations: 51.78 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.3344, allocations: 159.5 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.3348, allocations: 419 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3348, allocations: 4 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3348, allocations: 0 / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3348, allocations: 4 kB / 1.35 GB, free: 11.89 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006871/0.3355, allocations: 0.5695 MB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3355, allocations: 12.03 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.155e-05/0.3355, allocations: 4.188 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.3356, allocations: 46.73 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/0.3357, allocations: 28.84 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.336, allocations: 210.1 kB / 1.351 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.336, allocations: 20.31 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.261e-05/0.3361, allocations: 36.36 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.3363, allocations: 155.5 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3363, allocations: 3.938 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3363, allocations: 4 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.3363, allocations: 8 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3365, allocations: 83.81 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.3373, allocations: 0.6673 MB / 1.352 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3375, allocations: 90.48 kB / 1.352 GB, free: 9.805 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.3376, allocations: 44.83 kB / 1.352 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3376, allocations: 4 kB / 1.352 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.3379, allocations: 155.2 kB / 1.352 GB, free: 9.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.3379, allocations: 192 / 1.352 GB, free: 9.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0004647/0.3384, allocations: 243 kB / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.3384, allocations: 59.39 kB / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.3386, allocations: 186.1 kB / 1.352 GB, free: 9.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.3387, allocations: 45.7 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3388, allocations: 120.7 kB / 1.352 GB, free: 8.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.3388, allocations: 43.73 kB / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.339, allocations: 113.6 kB / 1.353 GB, free: 8.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3392, allocations: 330.8 kB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.3395, allocations: 155.9 kB / 1.353 GB, free: 8.266 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.3399, allocations: 238.1 kB / 1.353 GB, free: 7.996 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.3406, allocations: 410.6 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3406, allocations: 0 / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001207/0.3418, allocations: 0.6344 MB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.3419, allocations: 168.4 kB / 1.354 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3419, allocations: 0 / 1.354 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.342, allocations: 4 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.342, allocations: 16.27 kB / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.342, allocations: 15.88 kB / 1.354 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.3428, allocations: 131.7 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/0.3429, allocations: 35.97 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002334/0.3431, allocations: 157.5 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.3431, allocations: 23.8 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.3432, allocations: 13.81 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3432, allocations: 7.984 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3432, allocations: 0 / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3432, allocations: 4 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006618/0.3439, allocations: 490.1 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3439, allocations: 96 / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.3439, allocations: 19.86 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3439, allocations: 4 kB / 1.355 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3439, allocations: 3.984 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3439, allocations: 0 / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3439, allocations: 0 / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.3443, allocations: 293 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.3443, allocations: 11.91 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3443, allocations: 4 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.3444, allocations: 8 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.3444, allocations: 15.97 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3445, allocations: 15.98 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.22e-05/0.3446, allocations: 123.2 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3446, allocations: 0 / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000455/0.345, allocations: 79.89 kB / 1.356 GB, free: 5.137 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008203/0.3458, allocations: 0.8281 MB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000828/0.3467, allocations: 0.5519 MB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3467, allocations: 4.25 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3468, allocations: 59.91 kB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.3473, allocations: 47.91 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/0.3518, allocations: 3.019 MB / 1.36 GB, free: 372 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/0.3524, allocations: 0.7284 MB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.3526, allocations: 21.48 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3528, allocations: 63.36 kB / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of SimCode: time 4.208e-06/0.3528, allocations: 3.938 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/0.3953, allocations: 6.614 MB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.04, allocations: 4.062 kB / 1.368 GB, free: 9.098 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.786067123000976] Failed to read output from testmodel.py, exit status != 0: 12.200949908990879 12.219653997 11.880823656 Calling exit ...