Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 97.72 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.008123/0.008124, allocations: 170.5 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.604/1.604, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003826, allocations: 11.75 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4083, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0008978/0.4092, allocations: 404.5 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4107, allocations: 0.7944 MB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.4108, allocations: 0 / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.4109, allocations: 3.984 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.411, allocations: 3.938 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.4111, allocations: 12 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.856e-05/0.4112, allocations: 19.98 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4113, allocations: 11.98 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.4114, allocations: 15.88 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.4115, allocations: 7.984 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.4115, allocations: 0 / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.4115, allocations: 4 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.4115, allocations: 3.938 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.4116, allocations: 33.69 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.462e-05/0.4117, allocations: 15.91 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4117, allocations: 0 / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4117, allocations: 0 / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.4117, allocations: 4 kB / 1.075 GB, free: 6.184 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.0004809/0.4122, allocations: 335.9 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4123, allocations: 8.031 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.4123, allocations: 4.844 kB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.4125, allocations: 168.3 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4125, allocations: 384 / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4125, allocations: 384 / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4127, allocations: 58.23 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.4127, allocations: 192 / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4128, allocations: 3.938 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4128, allocations: 0 / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.413, allocations: 55.89 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.4134, allocations: 252.9 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.4136, allocations: 46.47 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.4137, allocations: 32.91 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.4137, allocations: 0 / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.4137, allocations: 30.56 kB / 1.076 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.4137, allocations: 0 / 1.076 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003991/0.4142, allocations: 101.6 kB / 1.076 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4142, allocations: 55.41 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.4143, allocations: 105.8 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4143, allocations: 25.7 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.4144, allocations: 84.17 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.4144, allocations: 4 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.4145, allocations: 13.72 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4146, allocations: 314.8 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.956e-05/0.4147, allocations: 19.97 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.4148, allocations: 27.98 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.415, allocations: 48.77 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.415, allocations: 0 / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002187/0.4152, allocations: 85.56 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4152, allocations: 8 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4152, allocations: 0 / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4152, allocations: 0 / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.4153, allocations: 11.98 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4153, allocations: 0 / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.4154, allocations: 12.03 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4154, allocations: 0 / 1.077 GB, free: 4.082 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 7.926e-05/0.4155, allocations: 118.4 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.4155, allocations: 4 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.4158, allocations: 80.72 kB / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4158, allocations: 4 kB / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4158, allocations: 0 / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4158, allocations: 0 / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.416, allocations: 157.6 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.416, allocations: 7.984 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.4161, allocations: 8 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4161, allocations: 4.031 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4161, allocations: 4 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4161, allocations: 3.938 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4161, allocations: 4 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.4164, allocations: 175.4 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.4164, allocations: 85 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.4164, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.4165, allocations: 11.94 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.4166, allocations: 7.984 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.4166, allocations: 0 / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.4166, allocations: 79.28 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4166, allocations: 4.031 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002118/0.4168, allocations: 4 kB / 1.078 GB, free: 3.234 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.0001478/0.417, allocations: 99.25 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.4172, allocations: 47.95 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4172, allocations: 0 / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.923e-05/0.4174, allocations: 27.92 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.4177, allocations: 15.81 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.418, allocations: 105.1 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.4182, allocations: 0.6809 MB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.4182, allocations: 0 / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.4183, allocations: 7.438 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.4183, allocations: 0 / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of Templates: time 0.002673/0.421, allocations: 358.2 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1)