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.001721/0.001721, allocations: 114.8 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.002201/0.002201, allocations: 210.3 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.559/1.559, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.97/2.97, allocations: 0.49 GB / 0.7923 GB, free: 1.316 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.002232/0.002232, allocations: 75.83 kB / 1.149 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9493/0.9515, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001582/0.9531, allocations: 0.6036 MB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.9541, allocations: 1.143 MB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.9542, allocations: 2.531 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.9542, allocations: 7.875 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.9542, allocations: 0 / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.9546, allocations: 121.4 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.9548, allocations: 98.25 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.079e-05/0.9548, allocations: 3.031 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.9549, allocations: 30.44 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/0.955, allocations: 33.44 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.955, allocations: 7.969 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.932e-05/0.955, allocations: 23.08 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.9551, allocations: 3.469 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.9551, allocations: 29.75 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.9552, allocations: 79.86 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9552, allocations: 0 / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9552, allocations: 4 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.9552, allocations: 0 / 1.324 GB, free: 23.37 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.0003548/0.9556, allocations: 378 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.9556, allocations: 14.64 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.955e-05/0.9557, allocations: 192 / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.739e-05/0.9557, allocations: 33.34 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.9557, allocations: 7.625 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.681e-05/0.9558, allocations: 179.1 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.9558, allocations: 6.234 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.9558, allocations: 7.156 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.9559, allocations: 38.39 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9559, allocations: 0 / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.9559, allocations: 0 / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.9559, allocations: 2.781 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.9559, allocations: 6.688 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.9562, allocations: 298.8 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.846e-05/0.9562, allocations: 21.08 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.9562, allocations: 9.266 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.9563, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.9564, allocations: 59.72 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.9564, allocations: 0 / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002007/0.9566, allocations: 67.03 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.9566, allocations: 54.31 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.9567, allocations: 108.9 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.9567, allocations: 29.7 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.9568, allocations: 85.91 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.9568, allocations: 6.547 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.9569, allocations: 27.77 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.9569, allocations: 324.7 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.957, allocations: 26.38 kB / 1.325 GB, free: 21.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.071e-05/0.9571, allocations: 52.73 kB / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.217e-05/0.9572, allocations: 79.27 kB / 1.325 GB, free: 21.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9572, allocations: 0 / 1.325 GB, free: 21.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002187/0.9574, allocations: 154.7 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.9574, allocations: 35.67 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9574, allocations: 3.281 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9574, allocations: 7.094 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.817e-05/0.9574, allocations: 0 / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.9575, allocations: 3.094 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.9576, allocations: 21.52 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.9577, allocations: 9.266 kB / 1.326 GB, free: 21.36 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 6.92e-05/0.9577, allocations: 120.7 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.9577, allocations: 6.859 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.9578, allocations: 7.906 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.9578, allocations: 3.062 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9578, allocations: 0 / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.9578, allocations: 0 / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.9579, allocations: 162.8 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9579, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.9579, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.9579, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.9579, allocations: 7.406 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9579, allocations: 2.938 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9579, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.958, allocations: 82.19 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.958, allocations: 81.06 kB / 1.326 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.958, allocations: 7.312 kB / 1.326 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.9581, allocations: 6.719 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.9581, allocations: 4 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.9581, allocations: 2.875 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.9581, allocations: 81.78 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9581, allocations: 2.969 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002147/0.9583, allocations: 24.03 kB / 1.326 GB, free: 20.73 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.0002639/0.9586, allocations: 0.6131 MB / 1.327 GB, free: 20.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.9588, allocations: 114 kB / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9588, allocations: 192 / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.9588, allocations: 12.22 kB / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.959, allocations: 12.89 kB / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.96, allocations: 1.367 MB / 1.328 GB, free: 18.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.606e-05/0.9601, allocations: 0.6817 MB / 1.329 GB, free: 18.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.9601, allocations: 6.781 kB / 1.329 GB, free: 18.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.9601, allocations: 11.44 kB / 1.329 GB, free: 18.08 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9601, allocations: 0 / 1.329 GB, free: 18.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.9782, allocations: 2.012 MB / 1.331 GB, free: 17.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.702/9.68, allocations: 7.859 kB / 1.331 GB, free: 17.64 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.268415995989926] Failed to read output from testmodel.py, exit status != 0: 9.807815744017716 9.832942493 8.873138274 Calling exit ...