Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001892/0.001892, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.002411/0.002411, allocations: 212.6 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.122/3.122, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 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.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.002929/0.002929, allocations: 71.89 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.117, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001772/1.119, allocations: 0.5878 MB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001325/1.12, allocations: 1.149 MB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/1.121, allocations: 0 / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/1.121, allocations: 0.75 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/1.121, allocations: 10.77 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/1.121, allocations: 123.1 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/1.121, allocations: 89.8 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/1.121, allocations: 3.516 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/1.121, allocations: 33.8 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/1.122, allocations: 39.42 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/1.122, allocations: 8.031 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/1.122, allocations: 26.14 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/1.122, allocations: 1.641 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/1.122, allocations: 31.55 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/1.122, allocations: 82.66 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/1.122, allocations: 2.344 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/1.122, allocations: 3.938 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.122, allocations: 0 / 1.342 GB, free: 14.86 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004478/1.122, allocations: 381.7 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.122, allocations: 8.906 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.066e-05/1.122, allocations: 192 / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.802e-05/1.123, allocations: 33.39 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/1.123, allocations: 8.453 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.301e-05/1.123, allocations: 167.5 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/1.123, allocations: 2.188 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/1.123, allocations: 9.344 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/1.123, allocations: 46.31 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.123, allocations: 4 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.123, allocations: 2.078 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.123, allocations: 0 / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/1.123, allocations: 5.109 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/1.123, allocations: 286.4 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/1.123, allocations: 16.91 kB / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/1.123, allocations: 13.17 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-06/1.123, allocations: 11.88 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/1.123, allocations: 57.42 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/1.123, allocations: 0 / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000197/1.124, allocations: 65.05 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.124, allocations: 53.33 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/1.124, allocations: 116.4 kB / 1.343 GB, free: 13.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/1.124, allocations: 28.11 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/1.124, allocations: 92.81 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/1.124, allocations: 4.797 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/1.124, allocations: 29.33 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/1.124, allocations: 318.1 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/1.124, allocations: 30.59 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/1.124, allocations: 45.11 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/1.124, allocations: 87.75 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.124, allocations: 0 / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002455/1.124, allocations: 140.6 kB / 1.344 GB, free: 12.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/1.124, allocations: 39.59 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.124, allocations: 1.188 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.124, allocations: 1.922 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.652e-05/1.124, allocations: 1.094 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.125, allocations: 1.938 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/1.125, allocations: 32.31 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/1.125, allocations: 5.625 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.145e-05/1.125, allocations: 119.5 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/1.125, allocations: 5.859 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/1.125, allocations: 6.109 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/1.125, allocations: 1.219 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.125, allocations: 0 / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/1.125, allocations: 4.656 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.71e-05/1.125, allocations: 165.4 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.125, allocations: 1.266 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/1.125, allocations: 0 / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.125, allocations: 1.594 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/1.125, allocations: 1.922 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.125, allocations: 3.938 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.125, allocations: 3.984 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.712e-05/1.125, allocations: 88.86 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/1.125, allocations: 83.03 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.125, allocations: 1.953 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/1.125, allocations: 0 / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/1.125, allocations: 4.219 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/1.125, allocations: 1.344 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.329e-05/1.125, allocations: 90.12 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.125, allocations: 0 / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002161/1.125, allocations: 18.83 kB / 1.345 GB, free: 12.24 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000292/1.126, allocations: 0.6205 MB / 1.345 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000233/1.126, allocations: 104 kB / 1.346 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.126, allocations: 1.938 kB / 1.346 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/1.126, allocations: 14.22 kB / 1.346 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/1.126, allocations: 11.14 kB / 1.346 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/1.127, allocations: 1.368 MB / 1.347 GB, free: 10.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/1.128, allocations: 0.6785 MB / 1.348 GB, free: 9.598 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.263e-05/1.128, allocations: 2.75 kB / 1.348 GB, free: 9.598 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/1.128, allocations: 9.984 kB / 1.348 GB, free: 9.59 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.128, allocations: 4 kB / 1.348 GB, free: 9.586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/1.148, allocations: 2.012 MB / 1.35 GB, free: 9.156 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.658/9.807, allocations: 17.14 kB / 1.35 GB, free: 9.145 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.513828661001753] Failed to read output from testmodel.py, exit status != 0: 9.933899243013002 9.946056697 8.821436361 Calling exit ...