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.001299/0.001299, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001365/0.001365, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.559/1.559, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.055/3.055, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 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.00192/0.00192, allocations: 67.84 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9214/0.9233, allocations: 178.9 MB / 1.34 GB, free: 16.35 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001945/0.9252, allocations: 0.8302 MB / 1.341 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.9271, allocations: 1.517 MB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.9272, allocations: 1.906 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.9273, allocations: 25.58 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.9274, allocations: 37.05 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.9286, allocations: 0.521 MB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.9292, allocations: 473.3 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.9294, allocations: 32.11 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.9296, allocations: 191.2 kB / 1.344 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.9298, allocations: 167.3 kB / 1.344 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.087e-05/0.9299, allocations: 41.03 kB / 1.344 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.93, allocations: 59.7 kB / 1.344 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.9301, allocations: 44.8 kB / 1.344 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.9303, allocations: 159.6 kB / 1.344 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.9308, allocations: 418.4 kB / 1.345 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9308, allocations: 0 / 1.345 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9308, allocations: 0 / 1.345 GB, free: 13.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9308, allocations: 0 / 1.345 GB, free: 13.82 MB / 1.061 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.0008754/0.9317, allocations: 0.6485 MB / 1.345 GB, free: 13.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.9317, allocations: 13.56 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.108e-05/0.9318, allocations: 11.55 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.9318, allocations: 41.88 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.9319, allocations: 28.89 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.9323, allocations: 260.3 kB / 1.345 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.9323, allocations: 23.34 kB / 1.346 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.9324, allocations: 30.25 kB / 1.346 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.9327, allocations: 149.7 kB / 1.346 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.9327, allocations: 0 / 1.346 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.9327, allocations: 6.922 kB / 1.346 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.9327, allocations: 6.75 kB / 1.346 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.9328, allocations: 93.19 kB / 1.346 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009525/0.9338, allocations: 0.703 MB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.934, allocations: 167.4 kB / 1.347 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.9341, allocations: 44.38 kB / 1.347 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.9341, allocations: 1.984 kB / 1.347 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.9345, allocations: 153.3 kB / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.9345, allocations: 0 / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005587/0.935, allocations: 243.7 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.9351, allocations: 56.05 kB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.9352, allocations: 183.1 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.9353, allocations: 39.27 kB / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.9354, allocations: 127.2 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.9354, allocations: 46.11 kB / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.9357, allocations: 115.3 kB / 1.348 GB, free: 11.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.9357, allocations: 325.1 kB / 1.348 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.9361, allocations: 156.9 kB / 1.348 GB, free: 11.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.9365, allocations: 238.9 kB / 1.348 GB, free: 11.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.937, allocations: 411.5 kB / 1.349 GB, free: 10.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.937, allocations: 6.047 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009868/0.9379, allocations: 0.6252 MB / 1.349 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.938, allocations: 169.3 kB / 1.349 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.938, allocations: 8.172 kB / 1.349 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.9381, allocations: 4.062 kB / 1.349 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.9381, allocations: 14.7 kB / 1.349 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.9381, allocations: 8.734 kB / 1.349 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.939, allocations: 140.2 kB / 1.35 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.939, allocations: 32.88 kB / 1.35 GB, free: 10.13 MB / 1.061 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.0002216/0.9393, allocations: 152.6 kB / 1.35 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.9393, allocations: 23.27 kB / 1.35 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.9394, allocations: 19.41 kB / 1.35 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.9394, allocations: 2.562 kB / 1.35 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.9394, allocations: 0 / 1.35 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.9394, allocations: 5.312 kB / 1.35 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.94, allocations: 0.509 MB / 1.35 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.94, allocations: 1 kB / 1.35 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.94, allocations: 8.266 kB / 1.35 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.94, allocations: 1.766 kB / 1.35 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.9401, allocations: 7.406 kB / 1.35 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9401, allocations: 1.094 kB / 1.35 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9401, allocations: 5.859 kB / 1.35 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.9404, allocations: 285.8 kB / 1.351 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.9404, allocations: 93.72 kB / 1.351 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.9405, allocations: 7.062 kB / 1.351 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.9405, allocations: 6.203 kB / 1.351 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.9406, allocations: 19.47 kB / 1.351 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.9406, allocations: 11.5 kB / 1.351 GB, free: 9.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.895e-05/0.9407, allocations: 119 kB / 1.351 GB, free: 9.184 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9407, allocations: 0 / 1.351 GB, free: 9.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004335/0.9411, allocations: 83.05 kB / 1.351 GB, free: 9.172 MB / 1.061 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.0004957/0.9416, allocations: 0.8422 MB / 1.352 GB, free: 8.441 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006804/0.9423, allocations: 0.5505 MB / 1.352 GB, free: 8.031 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9423, allocations: 9.188 kB / 1.352 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.9424, allocations: 62.91 kB / 1.352 GB, free: 8.008 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.9429, allocations: 49.73 kB / 1.352 GB, free: 7.992 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.9464, allocations: 3.019 MB / 1.355 GB, free: 5.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.9466, allocations: 0.7231 MB / 1.356 GB, free: 5.184 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.097e-05/0.9467, allocations: 25.77 kB / 1.356 GB, free: 5.172 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.9468, allocations: 55.73 kB / 1.356 GB, free: 5.137 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/0.9468, allocations: 1.188 kB / 1.356 GB, free: 5.137 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.9736, allocations: 6.425 MB / 1.362 GB, free: 4.371 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.665, allocations: 17.48 kB / 1.362 GB, free: 4.359 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.29936100397026] Failed to read output from testmodel.py, exit status != 0: 9.796468054992147 9.816013742 8.881013571 Calling exit ...