Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.0009743/0.0009743, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001087/0.001087, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9871/0.9871, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.526/2.526, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.179e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001406/0.001427, allocations: 0.7283 MB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.002241, allocations: 0.8392 MB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002275, allocations: 3.938 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.0023, allocations: 4 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.002363, allocations: 3.938 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.002488, allocations: 15.92 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.188e-05/0.00255, allocations: 23.91 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.501e-05/0.002625, allocations: 8 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.002696, allocations: 11.98 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.002727, allocations: 0 / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.002741, allocations: 4 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-06/0.002747, allocations: 0 / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.002763, allocations: 11.98 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.002777, allocations: 7.938 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.615e-05/0.002843, allocations: 23.91 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002844, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.32e-07/0.002845, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.002848, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 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.0002405/0.003089, allocations: 225 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.003121, allocations: 12.62 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.003143, allocations: 4.922 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.457e-05/0.003218, allocations: 105.8 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.003226, allocations: 384 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.003233, allocations: 4.375 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.895e-05/0.003322, allocations: 58.89 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.00333, allocations: 4.172 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.003336, allocations: 384 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.00334, allocations: 384 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.003359, allocations: 11.92 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.003543, allocations: 144.3 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.00358, allocations: 26.61 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.268e-05/0.003593, allocations: 12.86 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.003604, allocations: 3.938 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.003623, allocations: 38.56 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.003624, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001003/0.003724, allocations: 33.7 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.003752, allocations: 55.34 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.003803, allocations: 110.7 kB / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.003811, allocations: 25.7 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.003836, allocations: 80.14 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.003852, allocations: 7.953 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.003876, allocations: 17.7 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.003949, allocations: 314.8 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.003957, allocations: 4.125 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.003964, allocations: 4 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.187e-05/0.003986, allocations: 12.84 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.003987, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.192e-05/0.004029, allocations: 37.69 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.00404, allocations: 8 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.004044, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.004056, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.004113, allocations: 11.92 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.004115, allocations: 4.031 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.00413, allocations: 8 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004134, allocations: 0 / 0.8417 GB, free: 10.91 MB / 0.8073 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 5e-05/0.004184, allocations: 105.8 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.004201, allocations: 8 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.004222, allocations: 3.312 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.004223, allocations: 0 / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.004225, allocations: 3.938 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.004229, allocations: 3.984 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.242e-05/0.004312, allocations: 65.84 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004313, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.004338, allocations: 12 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004339, allocations: 0 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.004344, allocations: 3.984 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.004345, allocations: 0 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004346, allocations: 0 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.004423, allocations: 139.4 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.004431, allocations: 7.984 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.004439, allocations: 4 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.121e-05/0.00447, allocations: 4 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.004495, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.004496, allocations: 4.031 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.238e-05/0.004509, allocations: 16.97 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004509, allocations: 0 / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001142/0.004623, allocations: 4 kB / 0.842 GB, free: 10.48 MB / 0.8073 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 7.116e-05/0.004694, allocations: 76.41 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.978e-05/0.004744, allocations: 8.859 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.004747, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.00476, allocations: 12.8 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.004893, allocations: 16.09 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.005088, allocations: 108.6 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.005119, allocations: 59.36 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.423e-05/0.005133, allocations: 144 / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.00517, allocations: 51.38 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.00517, allocations: 0 / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.001844/0.007014, allocations: 475.8 kB / 0.8428 GB, free: 9.633 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.304989401251078]