Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001115/0.001115, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001285/0.001285, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9603/0.9603, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.911/1.911, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.157e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.004517/0.004538, allocations: 0.6804 MB / 0.8135 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.005468, allocations: 0.8523 MB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.005503, allocations: 0 / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.005527, allocations: 1.188 kB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.00559, allocations: 3.938 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.005705, allocations: 11.98 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.005767, allocations: 20.5 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.00585, allocations: 10.38 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.005918, allocations: 12 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.005952, allocations: 11.92 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.005968, allocations: 4 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-06/0.005974, allocations: 0 / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.00599, allocations: 4 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.006005, allocations: 4 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.087e-05/0.006076, allocations: 20.81 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006078, allocations: 0 / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.006078, allocations: 1.031 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.006082, allocations: 3.938 kB / 0.8144 GB, free: 15.73 MB / 0.7761 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.0002984/0.00638, allocations: 360.6 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.006418, allocations: 13.34 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.006446, allocations: 4.938 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.538e-05/0.006531, allocations: 104.6 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.006542, allocations: 2.312 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.006548, allocations: 4.375 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.006661, allocations: 58.94 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.006668, allocations: 192 / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.006675, allocations: 4.375 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006681, allocations: 2.031 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.006705, allocations: 7.938 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.006926, allocations: 228.4 kB / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.706e-05/0.006973, allocations: 35.14 kB / 0.8152 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.006987, allocations: 12.62 kB / 0.8152 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.006998, allocations: 0 / 0.8152 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.007021, allocations: 41.92 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.007022, allocations: 0 / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001194/0.007141, allocations: 47.19 kB / 0.8153 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.00717, allocations: 51.41 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.007237, allocations: 157.9 kB / 0.8155 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.007247, allocations: 26.27 kB / 0.8156 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.007287, allocations: 130.9 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.007304, allocations: 8.484 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/0.009166, allocations: 20.75 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.009259, allocations: 0.4884 MB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.009269, allocations: 0 / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.009276, allocations: 0 / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.009298, allocations: 12.84 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0093, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.559e-05/0.009346, allocations: 38.58 kB / 0.8162 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.009357, allocations: 11.98 kB / 0.8162 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.00936, allocations: 0.8438 kB / 0.8162 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.009368, allocations: 3.938 kB / 0.8162 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.009417, allocations: 4.844 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.009419, allocations: 0 / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.009435, allocations: 13.22 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.009438, allocations: 0 / 0.8163 GB, free: 13.68 MB / 0.7761 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 5.05e-05/0.009488, allocations: 156.6 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.009503, allocations: 4.844 kB / 0.8164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.00952, allocations: 3.312 kB / 0.8164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.009522, allocations: 4.938 kB / 0.8164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.009524, allocations: 0 / 0.8164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.009526, allocations: 0 / 0.8164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.372e-05/0.00961, allocations: 106.6 kB / 0.8165 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.00961, allocations: 0 / 0.8165 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.009636, allocations: 11.98 kB / 0.8165 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.009637, allocations: 0 / 0.8165 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-06/0.009641, allocations: 1.312 kB / 0.8165 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.009643, allocations: 3.938 kB / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009644, allocations: 0 / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.009749, allocations: 194.9 kB / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.009754, allocations: 0 / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.009763, allocations: 0 / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.009822, allocations: 8 kB / 0.8167 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.00985, allocations: 7.984 kB / 0.8167 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.009855, allocations: 3.938 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.009893, allocations: 123.2 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009894, allocations: 0 / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002174/0.01011, allocations: 4.5 kB / 0.8169 GB, free: 13.01 MB / 0.7761 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.692e-05/0.01019, allocations: 92.22 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.526e-05/0.01025, allocations: 24.95 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01025, allocations: 0 / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.01027, allocations: 12.78 kB / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.01043, allocations: 0 / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001738/0.0106, allocations: 111.2 kB / 0.8171 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.626e-05/0.01063, allocations: 57.89 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.263e-05/0.01064, allocations: 4 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.01068, allocations: 70.19 kB / 0.8172 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of SimCode: time 3.7e-07/0.01068, allocations: 4 kB / 0.8172 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.001774/0.01245, allocations: 0.5334 MB / 0.8178 GB, free: 12.07 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.245295495260507]