Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001328/0.001328, allocations: 116.1 kB / 17.17 MB, free: 6 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.001432/0.001432, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.919/2.919, allocations: 0.49 GB / 0.7923 GB, free: 1.359 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.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_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.002419/0.002419, allocations: 67.91 kB / 1.15 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9263/0.9287, allocations: 176.1 MB / 1.321 GB, free: 24.81 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001769/0.9305, allocations: 0.8381 MB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.932, allocations: 1.514 MB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.9321, allocations: 10.53 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.9322, allocations: 19 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.9322, allocations: 34.97 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.9333, allocations: 0.5139 MB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.9336, allocations: 470.7 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.9338, allocations: 34.08 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.9339, allocations: 191.2 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.9341, allocations: 173.5 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.9342, allocations: 41.94 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.9342, allocations: 58.42 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.9343, allocations: 41.27 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.9344, allocations: 163.3 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.9347, allocations: 414.5 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9347, allocations: 0 / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9347, allocations: 2.906 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.9347, allocations: 0 / 1.326 GB, free: 22.28 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.0006209/0.9354, allocations: 0.6587 MB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.9354, allocations: 15.61 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.215e-05/0.9354, allocations: 4.188 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.9354, allocations: 44.06 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.9355, allocations: 27.53 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.9358, allocations: 258.7 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.9359, allocations: 20.69 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.503e-05/0.9359, allocations: 29.16 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.9362, allocations: 146.6 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.9362, allocations: 4.5 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.9363, allocations: 14.25 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.9363, allocations: 5.734 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.9364, allocations: 89.31 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.9373, allocations: 0.7015 MB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.9375, allocations: 164.1 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.9376, allocations: 42.52 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.9376, allocations: 1.75 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.9379, allocations: 167.3 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.9379, allocations: 0 / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.000551/0.9385, allocations: 244.4 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.9385, allocations: 63.7 kB / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.9387, allocations: 179.6 kB / 1.329 GB, free: 20.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.9388, allocations: 39.39 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.9389, allocations: 129.7 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.9389, allocations: 43.19 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.9391, allocations: 115.1 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.9392, allocations: 324.8 kB / 1.329 GB, free: 19.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.9396, allocations: 157 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.94, allocations: 242.9 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.9405, allocations: 414.8 kB / 1.33 GB, free: 19.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9405, allocations: 0.6875 kB / 1.33 GB, free: 19.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00106/0.9416, allocations: 0.6275 MB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/0.9417, allocations: 168.1 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.9417, allocations: 3.781 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.9417, allocations: 8.141 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.9417, allocations: 11.28 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.9418, allocations: 5.734 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.9425, allocations: 139.1 kB / 1.331 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.9426, allocations: 33.78 kB / 1.331 GB, free: 18.59 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.0001529/0.9428, allocations: 151.4 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.9428, allocations: 20.22 kB / 1.331 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.9428, allocations: 19.17 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9428, allocations: 1.375 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.9428, allocations: 5.219 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9428, allocations: 1.188 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.9434, allocations: 0.5122 MB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9434, allocations: 0 / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.9435, allocations: 4.656 kB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.9435, allocations: 5.25 kB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.9435, allocations: 7.688 kB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.9435, allocations: 2.25 kB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9435, allocations: 0 / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.9438, allocations: 290.8 kB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.9438, allocations: 94.69 kB / 1.332 GB, free: 17.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.9439, allocations: 2.797 kB / 1.332 GB, free: 17.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.9439, allocations: 7.141 kB / 1.332 GB, free: 17.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.944, allocations: 18.88 kB / 1.332 GB, free: 17.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.944, allocations: 15.45 kB / 1.332 GB, free: 17.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.087e-05/0.9441, allocations: 118.6 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.9441, allocations: 0 / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004341/0.9445, allocations: 83 kB / 1.332 GB, free: 17.62 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.0005661/0.9451, allocations: 0.832 MB / 1.333 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.9458, allocations: 0.5508 MB / 1.334 GB, free: 16.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9458, allocations: 3.938 kB / 1.334 GB, free: 16.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.9459, allocations: 62.92 kB / 1.334 GB, free: 16.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.9464, allocations: 47.31 kB / 1.334 GB, free: 16.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.9503, allocations: 3.032 MB / 1.337 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.9505, allocations: 0.7239 MB / 1.337 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.711e-05/0.9506, allocations: 26.12 kB / 1.337 GB, free: 13.63 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.9506, allocations: 54.41 kB / 1.338 GB, free: 13.59 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/0.9506, allocations: 5.312 kB / 1.338 GB, free: 13.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.9772, allocations: 6.42 MB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.825/9.802, allocations: 12.62 kB / 1.344 GB, free: 12.82 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.10712122701807] Failed to read output from testmodel.py, exit status != 0: 9.933273634989746 9.951336787 9.013688992 Calling exit ...