Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00138/0.00138, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001502/0.001502, allocations: 215.8 kB / 23.03 MB, free: 4.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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.25/3.25, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_12_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.002022/0.002022, allocations: 71.12 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3692, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002145/0.3713, allocations: 0.5923 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.373, allocations: 1.132 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.373, allocations: 7.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.3731, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.3731, allocations: 11.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.3736, allocations: 119.3 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.3738, allocations: 83.89 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.3739, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.3739, allocations: 39.91 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.374, allocations: 27.95 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.3741, allocations: 11.94 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.498e-05/0.3741, allocations: 24 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.3742, allocations: 7.984 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.3742, allocations: 23.97 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3744, allocations: 87.95 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3744, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3744, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3744, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 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.0004558/0.3749, allocations: 300 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3749, allocations: 16.02 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.233e-05/0.3749, allocations: 192 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.3749, allocations: 34.75 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.375, allocations: 12.81 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3751, allocations: 110.5 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3751, allocations: 384 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3751, allocations: 12.38 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3752, allocations: 63.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3753, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3753, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3753, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.709e-05/0.3753, allocations: 11.94 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.3757, allocations: 247.9 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.417e-05/0.3758, allocations: 18.58 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.094e-05/0.3758, allocations: 12.91 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.3758, allocations: 0 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.376, allocations: 89.03 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.376, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002047/0.3762, allocations: 65.64 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3762, allocations: 51.41 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3764, allocations: 113.8 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3764, allocations: 25.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.3764, allocations: 84.14 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.3764, allocations: 11.95 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.3765, allocations: 33.69 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3766, allocations: 322.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.3767, allocations: 57.69 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3768, allocations: 80.25 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.377, allocations: 80.27 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.377, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002722/0.3772, allocations: 169.1 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.3773, allocations: 43.25 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3773, allocations: 3.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3773, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.639e-05/0.3773, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3773, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3775, allocations: 27.91 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.3775, allocations: 7.984 kB / 1.331 GB, free: 12.99 MB / 1.029 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 0.000101/0.3776, allocations: 122.3 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.3777, allocations: 11.89 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.3777, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3777, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3777, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3777, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.3778, allocations: 132.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3778, allocations: 3.938 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-06/0.3778, allocations: 4 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3778, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.3778, allocations: 3.984 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3778, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3778, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.378, allocations: 85 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.378, allocations: 3.953 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.378, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.378, allocations: 288 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.378, allocations: 7.984 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.378, allocations: 4.312 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.3781, allocations: 83.28 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3781, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002228/0.3783, allocations: 20 kB / 1.331 GB, free: 12.42 MB / 1.029 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.0004507/0.3788, allocations: 0.6241 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.379, allocations: 141.1 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.379, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.379, allocations: 7.938 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.3792, allocations: 7.984 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3808, allocations: 1.489 MB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.21e-05/0.3808, allocations: 63.55 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.213e-05/0.3809, allocations: 3.984 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.3809, allocations: 11.44 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3809, allocations: 0 / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.4033, allocations: 2.235 MB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 9.266 kB / 1.336 GB, free: 7.82 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.0243663409492] Failed to read output from testmodel.py, exit status != 0: 12.16588672506623 12.193461745 11.813618104 Calling exit ...