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.001889/0.001889, allocations: 97.88 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.001907/0.001907, allocations: 216.5 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.534/1.534, 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.227/3.227, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.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.002001/0.002001, allocations: 61.39 kB / 1.17 GB, free: 19.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 179 MB / 1.345 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002453/0.3442, allocations: 0.5866 MB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3461, allocations: 1.124 MB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.3462, allocations: 3.938 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.3462, allocations: 0 / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.3463, allocations: 7.922 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.3468, allocations: 122.6 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.347, allocations: 91.88 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.3471, allocations: 11.92 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.3472, allocations: 35.92 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3473, allocations: 31.89 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3473, allocations: 8 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.3474, allocations: 19.98 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.3474, allocations: 4 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.3475, allocations: 31.91 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3476, allocations: 84.02 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3477, allocations: 0 / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3477, allocations: 0 / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3477, allocations: 0 / 1.347 GB, free: 13.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005806/0.3482, allocations: 300 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3483, allocations: 8.031 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.466e-05/0.3483, allocations: 4.188 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.3483, allocations: 34.69 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.3484, allocations: 8.891 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3485, allocations: 110.5 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3485, allocations: 8.375 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3485, allocations: 4.375 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.3487, allocations: 67.7 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3487, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3487, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3487, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.3487, allocations: 11.94 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.3491, allocations: 243.9 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.3492, allocations: 18.58 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.3492, allocations: 12.91 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.3492, allocations: 4 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.3494, allocations: 89.03 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3494, allocations: 0 / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002495/0.3497, allocations: 65.62 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.3498, allocations: 55.41 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3499, allocations: 109.8 kB / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3499, allocations: 25.7 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.35, allocations: 84.14 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.35, allocations: 7.953 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.35, allocations: 29.7 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3502, allocations: 330.7 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.3503, allocations: 57.69 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3504, allocations: 76.25 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.3505, allocations: 84.22 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3505, allocations: 0 / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002701/0.3507, allocations: 173 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.3508, allocations: 37.7 kB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3508, allocations: 3.938 kB / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3508, allocations: 8.078 kB / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/0.3508, allocations: 4 kB / 1.349 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3508, allocations: 0 / 1.349 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.351, allocations: 32.17 kB / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3511, allocations: 4 kB / 1.349 GB, free: 11.34 MB / 1.045 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 9.42e-05/0.3511, allocations: 121.7 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.3512, allocations: 11.98 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.3512, allocations: 4 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3512, allocations: 4 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3512, allocations: 0 / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3512, allocations: 4 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3513, allocations: 128.7 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3513, allocations: 0 / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-06/0.3513, allocations: 0 / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3513, allocations: 4 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3513, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3513, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3513, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.3515, allocations: 92.94 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.3515, allocations: 4 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3515, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.3515, allocations: 4 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.3515, allocations: 4 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.3516, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.3516, allocations: 87.27 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3516, allocations: 0 / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002119/0.3518, allocations: 16 kB / 1.35 GB, free: 10.78 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: 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.0004657/0.3523, allocations: 0.6163 MB / 1.35 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3525, allocations: 141.1 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3525, allocations: 0 / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.3526, allocations: 16.25 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.3528, allocations: 7.938 kB / 1.351 GB, free: 9.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3547, allocations: 1.504 MB / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.577e-05/0.3547, allocations: 59.34 kB / 1.352 GB, free: 8.25 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.3547, allocations: 4 kB / 1.352 GB, free: 8.246 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.3548, allocations: 15.61 kB / 1.352 GB, free: 8.23 MB / 1.045 GB Notification: Performance of SimCode: time 1.032e-06/0.3548, allocations: 4 kB / 1.352 GB, free: 8.227 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.3782, allocations: 2.234 MB / 1.354 GB, free: 6.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.04, allocations: 7.062 kB / 1.354 GB, free: 6.16 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.978505706996657] Failed to read output from testmodel.py, exit status != 0: 12.206147315911949 12.224635807 11.873652029 Calling exit ...