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.001624/0.001624, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002099/0.002099, allocations: 218.2 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8 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.175/3.175, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 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.001985/0.001985, allocations: 69.8 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.356, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001851/0.3579, allocations: 0.6633 MB / 1.346 GB, free: 15.81 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3595, allocations: 1.222 MB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.3595, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.3595, allocations: 3.938 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.3596, allocations: 19.78 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.3602, allocations: 215.8 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.3605, allocations: 171.7 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.3606, allocations: 15.94 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.3607, allocations: 71.88 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3608, allocations: 67.84 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.3608, allocations: 12 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.3609, allocations: 31.98 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.3609, allocations: 15.92 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.361, allocations: 47.91 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3612, allocations: 163.8 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3612, allocations: 0 / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3612, allocations: 0 / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.3612, allocations: 0 / 1.348 GB, free: 13.76 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.0005254/0.3618, allocations: 365.5 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3618, allocations: 8.031 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.325e-05/0.3618, allocations: 4.188 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/0.3618, allocations: 30.75 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.3619, allocations: 16.88 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.362, allocations: 114.5 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.362, allocations: 8.375 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.3621, allocations: 8.375 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3622, allocations: 57.92 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.3622, allocations: 4 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.3622, allocations: 0 / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3622, allocations: 0 / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.3622, allocations: 12 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.3629, allocations: 339.7 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.524e-05/0.363, allocations: 38.5 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.363, allocations: 8.859 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.363, allocations: 8.078 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.3632, allocations: 75.38 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3632, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002581/0.3635, allocations: 117.5 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3635, allocations: 51.41 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3636, allocations: 121.8 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.3637, allocations: 29.7 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.3637, allocations: 100.1 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3638, allocations: 7.953 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3639, allocations: 49.69 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.364, allocations: 322.8 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3641, allocations: 63.97 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3643, allocations: 92.25 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3645, allocations: 155.6 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3645, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004517/0.365, allocations: 264.8 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.365, allocations: 71.39 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.365, allocations: 0 / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.365, allocations: 7.938 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.022e-05/0.3651, allocations: 3.984 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3651, allocations: 4 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.3654, allocations: 60 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.3655, allocations: 12.47 kB / 1.35 GB, free: 10.91 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.0001399/0.3656, allocations: 129.7 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3656, allocations: 7.953 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.3656, allocations: 8.375 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3657, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3657, allocations: 7.938 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3657, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.3659, allocations: 160.6 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3659, allocations: 0 / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.3659, allocations: 4 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.3659, allocations: 64 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3659, allocations: 4 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3659, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3659, allocations: 4.312 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.366, allocations: 113 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.366, allocations: 11.89 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3661, allocations: 3.984 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.3661, allocations: 4 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.3661, allocations: 7.984 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3661, allocations: 4 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.3662, allocations: 95.2 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3662, allocations: 0 / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002395/0.3664, allocations: 35.94 kB / 1.351 GB, free: 10.25 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.000507/0.3669, allocations: 0.6437 MB / 1.352 GB, free: 9.574 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.3673, allocations: 218.7 kB / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3673, allocations: 0 / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.3673, allocations: 28.17 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.3676, allocations: 19.98 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3697, allocations: 1.72 MB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.37, allocations: 0.6923 MB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.37, allocations: 7.781 kB / 1.354 GB, free: 6.719 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.3701, allocations: 23.42 kB / 1.354 GB, free: 6.695 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3701, allocations: 0 / 1.354 GB, free: 6.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.3932, allocations: 3.068 MB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.95, allocations: 14.7 kB / 1.357 GB, free: 3.773 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.620077067054808] Failed to read output from testmodel.py, exit status != 0: 12.117209447955247 12.145797252 11.779575062 Calling exit ...