Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001337/0.001337, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.001542/0.001542, allocations: 215 kB / 20.13 MB, free: 2.949 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.619/1.619, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.941/2.941, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.002043/0.002043, allocations: 63.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001963/1.068, allocations: 0.6669 MB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001865/1.07, allocations: 1.218 MB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/1.07, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/1.07, allocations: 5.906 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.779e-05/1.07, allocations: 18.45 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/1.07, allocations: 217.6 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/1.071, allocations: 166.7 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.071, allocations: 9.609 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/1.071, allocations: 71.36 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/1.071, allocations: 61.94 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/1.071, allocations: 15.72 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/1.071, allocations: 31.94 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/1.071, allocations: 9.953 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/1.071, allocations: 56.59 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/1.072, allocations: 148.9 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.072, allocations: 4.531 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.072, allocations: 0 / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.072, allocations: 0.5 kB / 1.282 GB, free: 10.09 MB / 0.9981 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.0006959/1.072, allocations: 435.5 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.072, allocations: 10.03 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/1.072, allocations: 5.281 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/1.073, allocations: 32.53 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/1.073, allocations: 12.94 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/1.073, allocations: 180.6 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/1.073, allocations: 5.438 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/1.073, allocations: 17.67 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/1.073, allocations: 49.47 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.073, allocations: 0 / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/1.073, allocations: 1.234 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.073, allocations: 1.094 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/1.073, allocations: 13.64 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/1.074, allocations: 354.5 kB / 1.283 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/1.074, allocations: 33.38 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/1.074, allocations: 16.88 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/1.074, allocations: 3.984 kB / 1.283 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/1.074, allocations: 81.06 kB / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/1.074, allocations: 0 / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002821/1.074, allocations: 104.8 kB / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.074, allocations: 57.45 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.074, allocations: 119.8 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/1.075, allocations: 37.67 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/1.075, allocations: 86.5 kB / 1.283 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/1.075, allocations: 15.81 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/1.075, allocations: 49.62 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.075, allocations: 322.2 kB / 1.284 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/1.075, allocations: 63.05 kB / 1.284 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/1.075, allocations: 90.38 kB / 1.284 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/1.075, allocations: 162.5 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.075, allocations: 5.031 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004769/1.076, allocations: 265.2 kB / 1.284 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/1.076, allocations: 68.22 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.076, allocations: 1.156 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.076, allocations: 1.875 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.52e-05/1.076, allocations: 7.391 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.076, allocations: 2.109 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/1.076, allocations: 59.56 kB / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/1.076, allocations: 12.98 kB / 1.284 GB, free: 7.758 MB / 0.9981 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,and1.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.0001406/1.077, allocations: 129.4 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/1.077, allocations: 6.234 kB / 1.284 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/1.077, allocations: 10.48 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.077, allocations: 1.344 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.077, allocations: 6.328 kB / 1.284 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.077, allocations: 0 / 1.284 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/1.077, allocations: 178.6 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.077, allocations: 0 / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/1.077, allocations: 3.219 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.077, allocations: 0 / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.077, allocations: 1.703 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.077, allocations: 1.531 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.077, allocations: 0.7969 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/1.077, allocations: 119.8 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/1.077, allocations: 82.91 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/1.077, allocations: 9.781 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/1.077, allocations: 1.859 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/1.077, allocations: 5.688 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/1.077, allocations: 2.844 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.679e-05/1.077, allocations: 101.7 kB / 1.285 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.077, allocations: 0 / 1.285 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002572/1.078, allocations: 39.55 kB / 1.285 GB, free: 7.109 MB / 0.9981 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,and1.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.0005404/1.078, allocations: 0.6492 MB / 1.286 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003829/1.078, allocations: 216.6 kB / 1.286 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.078, allocations: 0 / 1.286 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/1.078, allocations: 27.59 kB / 1.286 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/1.079, allocations: 17.12 kB / 1.286 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/1.081, allocations: 1.722 MB / 1.287 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.081, allocations: 0.6855 MB / 1.288 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.1e-05/1.081, allocations: 4.594 kB / 1.288 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/1.081, allocations: 21.69 kB / 1.288 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/1.081, allocations: 0 / 1.288 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/1.108, allocations: 2.937 MB / 1.291 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/9.445, allocations: 9.688 kB / 1.291 GB, free: 3.652 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.992932274995837] Failed to read output from testmodel.py, exit status != 0: 9.571870661980938 9.588638694 8.513805833 Calling exit ...