Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001331, allocations: 195.4 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.063/3.063, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 58.55 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4118, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002002/0.4138, allocations: 0.6593 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.4153, allocations: 1.116 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.4153, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.4154, allocations: 3.938 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.4155, allocations: 3.938 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.4159, allocations: 115.2 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.416, allocations: 79.88 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4161, allocations: 4 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.4162, allocations: 31.97 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.4163, allocations: 23.91 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.4163, allocations: 4 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.4164, allocations: 23.92 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.4165, allocations: 3.984 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.4165, allocations: 27.92 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.4167, allocations: 79.78 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4167, allocations: 7.938 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4167, allocations: 4 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4168, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 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.0005081/0.4173, allocations: 373.4 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4173, allocations: 8.031 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.4174, allocations: 4.938 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.4175, allocations: 164.4 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4175, allocations: 8.375 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4175, allocations: 4.375 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.273e-05/0.4176, allocations: 34.27 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4176, allocations: 4.172 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4177, allocations: 7.938 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4177, allocations: 0 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.4177, allocations: 11.94 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.4181, allocations: 280.8 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.19e-05/0.4182, allocations: 30.5 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.4182, allocations: 8.859 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.4182, allocations: 0 / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.4184, allocations: 67.39 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4184, allocations: 3.938 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000185/0.4185, allocations: 65.67 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.4186, allocations: 51.41 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.4187, allocations: 105.8 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4187, allocations: 33.7 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.4188, allocations: 84.14 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.4188, allocations: 7.891 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.4189, allocations: 29.7 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.419, allocations: 322.8 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.4191, allocations: 23.98 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.4192, allocations: 54.55 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.4193, allocations: 80.27 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-06/0.4193, allocations: 3.938 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002248/0.4195, allocations: 143.2 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.4196, allocations: 35.42 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4196, allocations: 3.938 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4196, allocations: 4.312 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.625e-05/0.4196, allocations: 4.078 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4196, allocations: 4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.4199, allocations: 35.91 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.4199, allocations: 8 kB / 1.072 GB, free: 6.395 MB / 0.8262 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 8.663e-05/0.42, allocations: 117.7 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.42, allocations: 3.984 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.42, allocations: 7.906 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.42, allocations: 4 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.42, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.42, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.4202, allocations: 157.6 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4202, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.4202, allocations: 7.984 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.4202, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4202, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4202, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4202, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.4203, allocations: 92.91 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.4204, allocations: 77.39 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4204, allocations: 7.922 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/0.4204, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.4204, allocations: 7.984 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.4204, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.4205, allocations: 83.28 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4205, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002114/0.4207, allocations: 19.98 kB / 1.072 GB, free: 5.711 MB / 0.8262 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.0001454/0.4209, allocations: 109.8 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.4211, allocations: 115.3 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4211, allocations: 4 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.4211, allocations: 11.98 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4213, allocations: 13.48 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.4216, allocations: 124.1 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4219, allocations: 0.6809 MB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.4219, allocations: 0 / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.4219, allocations: 15.38 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4219, allocations: 0 / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of Templates: time 0.003429/0.4254, allocations: 1.02 MB / 1.074 GB, free: 3.57 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)