Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.001305/0.001305, 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.002105/0.002105, allocations: 216.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.479/1.479, 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.202/3.202, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.002001/0.002001, allocations: 65.84 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3617, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00201/0.3638, allocations: 0.6449 MB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3655, allocations: 1.206 MB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.3655, allocations: 0 / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.3655, allocations: 7.938 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.3656, allocations: 19.84 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.3663, allocations: 213 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.3665, allocations: 175.7 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.3666, allocations: 15.98 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3667, allocations: 67.95 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.3669, allocations: 63.78 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.3669, allocations: 20 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.367, allocations: 27.98 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.367, allocations: 11.98 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.3671, allocations: 47.89 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3673, allocations: 155.8 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3673, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3673, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3674, allocations: 0 / 1.348 GB, free: 13.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005636/0.3679, allocations: 365.5 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.368, allocations: 8.031 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.791e-05/0.368, allocations: 8.188 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.368, allocations: 34.75 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.3681, allocations: 16.88 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3682, allocations: 110.5 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3682, allocations: 4.375 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.3682, allocations: 12.38 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3683, allocations: 57.98 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3684, allocations: 0 / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3684, allocations: 3.938 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.3684, allocations: 0 / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.329e-05/0.3684, allocations: 16 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.3689, allocations: 307.8 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.369, allocations: 30.52 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.369, allocations: 24.88 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.369, allocations: 3.938 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.3692, allocations: 75.38 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3692, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002501/0.3695, allocations: 109.6 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3695, allocations: 55.41 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3696, allocations: 121.8 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.3696, allocations: 33.7 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.3697, allocations: 92.09 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.3698, allocations: 19.89 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3699, allocations: 49.69 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.37, allocations: 318.8 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3702, allocations: 119.4 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.3704, allocations: 156.9 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.3706, allocations: 159.6 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3706, allocations: 4 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005067/0.3711, allocations: 320.8 kB / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.3712, allocations: 67.39 kB / 1.35 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3712, allocations: 0 / 1.35 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3712, allocations: 7.938 kB / 1.35 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.547e-05/0.3712, allocations: 11.92 kB / 1.35 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3712, allocations: 0 / 1.35 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.3716, allocations: 56.02 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.3716, allocations: 12 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001205/0.3717, allocations: 129.7 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.3718, allocations: 7.953 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.3718, allocations: 12.36 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3718, allocations: 4 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3718, allocations: 0 / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3718, allocations: 0 / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.372, allocations: 152.7 kB / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.372, allocations: 0 / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.372, allocations: 3.938 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.372, allocations: 4 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.372, allocations: 3.938 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.372, allocations: 4.375 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.372, allocations: 0 / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3722, allocations: 117 kB / 1.351 GB, free: 9.691 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.3722, allocations: 4 kB / 1.351 GB, free: 9.688 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.3722, allocations: 3.984 kB / 1.351 GB, free: 9.684 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.596e-05/0.3722, allocations: 8 kB / 1.351 GB, free: 9.676 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3723, allocations: 7.984 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3723, allocations: 4 kB / 1.351 GB, free: 9.664 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.3723, allocations: 91.27 kB / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3723, allocations: 0 / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002424/0.3726, allocations: 35.94 kB / 1.351 GB, free: 9.539 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.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.000542/0.3731, allocations: 0.6475 MB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.3735, allocations: 282.1 kB / 1.352 GB, free: 8.551 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3735, allocations: 256 / 1.352 GB, free: 8.551 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.3736, allocations: 27.92 kB / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.3738, allocations: 20.2 kB / 1.352 GB, free: 8.504 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3761, allocations: 1.975 MB / 1.354 GB, free: 6.359 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.924e-05/0.3762, allocations: 67.34 kB / 1.354 GB, free: 6.273 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.3762, allocations: 11.77 kB / 1.354 GB, free: 6.262 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.3762, allocations: 23.44 kB / 1.354 GB, free: 6.238 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.3762, allocations: 3.938 kB / 1.354 GB, free: 6.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.4005, allocations: 3.246 MB / 1.357 GB, free: 3.168 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.22, allocations: 5.75 kB / 1.357 GB, free: 3.164 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.98389573697932] Failed to read output from testmodel.py, exit status != 0: 12.381446098908782 12.408326394 12.035788862 Calling exit ...