Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.000945, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01309/0.01309, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.012/3.012, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0007481/0.0007481, allocations: 12.78 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.44, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001223/0.4412, allocations: 404.5 kB / 1.075 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.4426, allocations: 0.8022 MB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.4426, allocations: 0 / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.4427, allocations: 0 / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.4427, allocations: 3.938 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.4429, allocations: 19.97 kB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.443, allocations: 23.92 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.4432, allocations: 8 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.693e-05/0.4433, allocations: 7.938 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.4433, allocations: 11.98 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.4433, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.4434, allocations: 4 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.4434, allocations: 3.938 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.4434, allocations: 33.64 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.553e-05/0.4435, allocations: 23.88 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4436, allocations: 8 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4436, allocations: 0 / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4436, allocations: 0 / 1.075 GB, free: 6.168 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005524/0.4441, allocations: 335.8 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.4442, allocations: 8.031 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.4442, allocations: 4.844 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.4444, allocations: 164.4 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4444, allocations: 4.359 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.4445, allocations: 384 / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.4447, allocations: 62.17 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4447, allocations: 192 / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4447, allocations: 7.938 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4447, allocations: 4 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.445, allocations: 43.95 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.4454, allocations: 252.9 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.4455, allocations: 38.5 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4457, allocations: 40.83 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.4457, allocations: 0 / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4457, allocations: 30.56 kB / 1.076 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4457, allocations: 0 / 1.076 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004219/0.4462, allocations: 101.6 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.4462, allocations: 51.41 kB / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.4463, allocations: 97.86 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4463, allocations: 25.7 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.4464, allocations: 88.03 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.4464, allocations: 4.125 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.4465, allocations: 17.72 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4466, allocations: 310.8 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4467, allocations: 19.92 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.4468, allocations: 27.97 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.447, allocations: 48.89 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.447, allocations: 0 / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002161/0.4472, allocations: 85.5 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4473, allocations: 8 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4473, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4473, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4474, allocations: 11.98 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4474, allocations: 3.984 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.4475, allocations: 12.03 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4475, allocations: 3.938 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001313/0.4477, allocations: 118.4 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.4477, allocations: 7.984 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.448, allocations: 76.78 kB / 1.077 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.448, allocations: 4 kB / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.448, allocations: 0 / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.448, allocations: 0 / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.4482, allocations: 157.6 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4482, allocations: 0 / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.4483, allocations: 15.98 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.4483, allocations: 0 / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4483, allocations: 7.969 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4483, allocations: 0 / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4483, allocations: 4 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.4486, allocations: 175.4 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.4487, allocations: 81.02 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4487, allocations: 0 / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.4488, allocations: 15.98 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.4488, allocations: 192 / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.4488, allocations: 0 / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.433e-05/0.4489, allocations: 87.25 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4489, allocations: 0 / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002189/0.4492, allocations: 11.97 kB / 1.078 GB, free: 3.219 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002012/0.4494, allocations: 101.8 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.4496, allocations: 47.89 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4496, allocations: 4.062 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.4497, allocations: 23.98 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.45, allocations: 11.88 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.4504, allocations: 110.9 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.4507, allocations: 0.681 MB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.4507, allocations: 0 / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.4508, allocations: 7.438 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4508, allocations: 0 / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.00299/0.4538, allocations: 366.7 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1)