Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.0009401, allocations: 98.11 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.008732/0.008732, allocations: 172.4 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.527/1.527, 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.043/3.043, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004076, allocations: 12.44 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4156, 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.Sqrt): time 0.001506/0.4172, allocations: 404.5 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.4189, allocations: 0.7905 MB / 1.075 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.419, allocations: 4 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.4191, allocations: 7.938 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.4192, allocations: 7.922 kB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.4194, allocations: 11.98 kB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.4195, allocations: 19.98 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.4197, allocations: 4 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.4198, allocations: 7.938 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.4199, allocations: 11.98 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.4199, allocations: 3.938 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.4199, allocations: 4 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.42, allocations: 3.938 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.4201, allocations: 41.62 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.4202, allocations: 15.95 kB / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4202, allocations: 0 / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4202, allocations: 0 / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.4202, allocations: 0 / 1.075 GB, free: 6.18 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.0006424/0.4209, allocations: 339.9 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.421, allocations: 8.031 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.421, allocations: 8.844 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.4212, allocations: 164.3 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4213, allocations: 384 / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.4213, allocations: 4.375 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.4216, allocations: 58.22 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4216, allocations: 192 / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4217, allocations: 7.938 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.4217, allocations: 0 / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.422, allocations: 51.83 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.4226, allocations: 249 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.4228, allocations: 46.48 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.423, allocations: 28.91 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.4231, allocations: 0 / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.4231, allocations: 34.56 kB / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.4232, allocations: 4 kB / 1.076 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0007072/0.4239, allocations: 101.7 kB / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.424, allocations: 51.41 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.4241, allocations: 97.84 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.4242, allocations: 29.7 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.4242, allocations: 88.05 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.4243, allocations: 0 / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.4243, allocations: 9.719 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4245, allocations: 318.9 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.4247, allocations: 19.98 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.4249, allocations: 23.97 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.4253, allocations: 60.77 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4253, allocations: 0 / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004109/0.4257, allocations: 85.5 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.4257, allocations: 4 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4258, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4258, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.426, allocations: 11.98 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.426, allocations: 0 / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.4261, allocations: 8 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4261, allocations: 0 / 1.077 GB, free: 4.078 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.000147/0.4263, allocations: 121.8 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.4263, allocations: 4 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.4264, allocations: 3.125 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4264, allocations: 0 / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4264, allocations: 0 / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.4264, allocations: 4 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.4267, allocations: 157.6 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4268, allocations: 0 / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.4269, allocations: 19.92 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4269, allocations: 3.938 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4269, allocations: 0 / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4269, allocations: 0 / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4269, allocations: 0 / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.4274, allocations: 179.5 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.4275, allocations: 81.02 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.4276, allocations: 3.984 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.4277, allocations: 8 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.4278, allocations: 0 / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4278, allocations: 3.984 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.471e-05/0.4279, allocations: 87.5 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4279, allocations: 0 / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003754/0.4283, allocations: 4 kB / 1.078 GB, free: 3.316 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.0002516/0.4286, allocations: 99.19 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.429, allocations: 51.95 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.429, allocations: 0 / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.4292, allocations: 19.98 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.4298, allocations: 13.66 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.4305, allocations: 109 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.4312, allocations: 0.6772 MB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.675e-05/0.4313, allocations: 3.984 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.4313, allocations: 11.38 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of SimCode: time 9.62e-07/0.4313, allocations: 0 / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of Templates: time 0.006016/0.4374, allocations: 374.6 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1)