Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001588/0.001588, allocations: 115.6 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.001345/0.001345, 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.956/2.956, allocations: 476.7 MB / 0.7678 GB, free: 9.316 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.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_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.002075/0.002075, allocations: 59.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317/1.319, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00208/1.321, allocations: 0.5977 MB / 1.28 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001851/1.323, allocations: 1.147 MB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/1.323, allocations: 0 / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/1.323, allocations: 3.938 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/1.323, allocations: 9.938 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/1.324, allocations: 124.6 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/1.324, allocations: 85.61 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/1.324, allocations: 3.578 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/1.324, allocations: 38.28 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/1.324, allocations: 34.55 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/1.324, allocations: 7.656 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/1.325, allocations: 21.84 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/1.325, allocations: 3.328 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/1.325, allocations: 31.02 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/1.325, allocations: 88.91 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.325, allocations: 1.219 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.325, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.177e-05/1.325, allocations: 0 / 1.281 GB, free: 10.32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006163/1.326, allocations: 374.8 kB / 1.281 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.326, allocations: 14 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.133e-05/1.326, allocations: 4.172 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/1.326, allocations: 32.25 kB / 1.281 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/1.326, allocations: 9.781 kB / 1.281 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/1.326, allocations: 171.1 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/1.326, allocations: 3.234 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/1.326, allocations: 5.656 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.326, allocations: 41.77 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.326, allocations: 1.094 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.326, allocations: 4.516 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.326, allocations: 1.062 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/1.326, allocations: 7.922 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/1.327, allocations: 285.8 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/1.327, allocations: 22.36 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/1.327, allocations: 7.531 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/1.327, allocations: 4.703 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/1.327, allocations: 61.86 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/1.327, allocations: 0 / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000235/1.327, allocations: 61.73 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.327, allocations: 56.47 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.327, allocations: 108.8 kB / 1.282 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/1.327, allocations: 27.89 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/1.327, allocations: 92.16 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/1.327, allocations: 5.516 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/1.327, allocations: 29.75 kB / 1.282 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.328, allocations: 317.6 kB / 1.283 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/1.328, allocations: 31.52 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/1.328, allocations: 48.73 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/1.328, allocations: 83.58 kB / 1.283 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.328, allocations: 0.8438 kB / 1.283 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003519/1.328, allocations: 147.8 kB / 1.283 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/1.328, allocations: 37.59 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.328, allocations: 1 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.328, allocations: 5.188 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.713e-05/1.328, allocations: 5.953 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.328, allocations: 1.031 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/1.329, allocations: 28.58 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.329, allocations: 5.969 kB / 1.283 GB, free: 8.316 MB / 0.9981 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.000125/1.329, allocations: 119.8 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/1.329, allocations: 5.984 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/1.329, allocations: 9.562 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.329, allocations: 1 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.329, allocations: 0.7969 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.329, allocations: 0.5 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/1.329, allocations: 169.1 kB / 1.283 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.329, allocations: 4.438 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-06/1.329, allocations: 1.656 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.329, allocations: 0.5 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/1.329, allocations: 1.375 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.329, allocations: 0.5 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.329, allocations: 0.5312 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/1.329, allocations: 84.34 kB / 1.283 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/1.329, allocations: 87.69 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/1.329, allocations: 0.7031 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/1.329, allocations: 2.047 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/1.329, allocations: 6.547 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/1.329, allocations: 0.875 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.684e-05/1.33, allocations: 86.17 kB / 1.284 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.33, allocations: 0 / 1.284 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000229/1.33, allocations: 20.39 kB / 1.284 GB, free: 7.703 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: 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.0005398/1.33, allocations: 0.6253 MB / 1.284 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002574/1.331, allocations: 100.5 kB / 1.284 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.331, allocations: 0 / 1.284 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/1.331, allocations: 15.66 kB / 1.284 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/1.331, allocations: 11.5 kB / 1.284 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/1.333, allocations: 1.372 MB / 1.286 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/1.333, allocations: 0.6774 MB / 1.286 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.118e-05/1.333, allocations: 2.062 kB / 1.286 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/1.333, allocations: 14.88 kB / 1.286 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.333, allocations: 0 / 1.286 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/1.353, allocations: 2.021 MB / 1.288 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.323/9.676, allocations: 10.2 kB / 1.288 GB, free: 4.594 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.28840101696551] Failed to read output from testmodel.py, exit status != 0: 9.807955171971116 9.82442337 8.496433389 Calling exit ...