Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001364/0.001364, allocations: 80.3 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.00156/0.00156, allocations: 170.2 kB / 24.87 MB, free: 9.199 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 1.014/1.014, allocations: 177.2 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.838/1.838, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.7884 GB, free: 11.02 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.51e-05, allocations: 6.312 kB / 0.7884 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001492/0.001517, allocations: 0.6742 MB / 0.789 GB, free: 10.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008525/0.002369, allocations: 0.8552 MB / 0.7899 GB, free: 9.492 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.002402, allocations: 0.9375 kB / 0.7899 GB, free: 9.492 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.002426, allocations: 0 / 0.7899 GB, free: 9.492 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.002493, allocations: 4.5 kB / 0.7899 GB, free: 9.488 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.002623, allocations: 12.89 kB / 0.7899 GB, free: 9.477 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.064e-05/0.002683, allocations: 19.94 kB / 0.7899 GB, free: 9.457 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.002769, allocations: 11.97 kB / 0.7899 GB, free: 9.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.002839, allocations: 12.81 kB / 0.7899 GB, free: 9.434 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.31e-05/0.002872, allocations: 7.984 kB / 0.7899 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.002888, allocations: 4.531 kB / 0.7899 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-06/0.002895, allocations: 1.156 kB / 0.7899 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.002911, allocations: 4 kB / 0.7899 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.002929, allocations: 7.984 kB / 0.7899 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.038e-05/0.002999, allocations: 16.48 kB / 0.79 GB, free: 9.395 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003002, allocations: 0 / 0.79 GB, free: 9.395 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003002, allocations: 0.875 kB / 0.79 GB, free: 9.395 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003007, allocations: 0 / 0.79 GB, free: 9.395 MB / 0.698 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.0003229/0.003329, allocations: 357.9 kB / 0.7903 GB, free: 9.008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.003369, allocations: 8.031 kB / 0.7903 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.003398, allocations: 12.89 kB / 0.7903 GB, free: 8.988 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.003492, allocations: 112.5 kB / 0.7904 GB, free: 8.852 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.003502, allocations: 5.594 kB / 0.7904 GB, free: 8.848 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.003509, allocations: 4.359 kB / 0.7904 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.003613, allocations: 50.95 kB / 0.7905 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003619, allocations: 0.875 kB / 0.7905 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.003626, allocations: 384 / 0.7905 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.00363, allocations: 1.281 kB / 0.7905 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.003649, allocations: 7.938 kB / 0.7905 GB, free: 8.777 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.003861, allocations: 225.1 kB / 0.7907 GB, free: 8.531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.003909, allocations: 47 kB / 0.7908 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.003922, allocations: 9.281 kB / 0.7908 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.003934, allocations: 0 / 0.7908 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.003954, allocations: 37.45 kB / 0.7908 GB, free: 8.414 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.003954, allocations: 0 / 0.7908 GB, free: 8.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001117/0.004066, allocations: 45.05 kB / 0.7908 GB, free: 8.367 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.004093, allocations: 55.39 kB / 0.7909 GB, free: 8.301 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.004158, allocations: 153.9 kB / 0.791 GB, free: 8.133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.004168, allocations: 29.7 kB / 0.7911 GB, free: 8.098 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.004354, allocations: 134.8 kB / 0.7912 GB, free: 7.961 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.004371, allocations: 7.938 kB / 0.7912 GB, free: 7.953 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.004398, allocations: 23.36 kB / 0.7912 GB, free: 7.922 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.0045, allocations: 492.1 kB / 0.7917 GB, free: 7.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.004507, allocations: 0.5312 kB / 0.7917 GB, free: 7.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.004515, allocations: 4.594 kB / 0.7917 GB, free: 7.426 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.491e-05/0.00454, allocations: 13.34 kB / 0.7917 GB, free: 7.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004542, allocations: 3.938 kB / 0.7917 GB, free: 7.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.357e-05/0.004596, allocations: 45.62 kB / 0.7918 GB, free: 7.355 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.004607, allocations: 4 kB / 0.7918 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.004612, allocations: 0.8438 kB / 0.7918 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.004622, allocations: 3.938 kB / 0.7918 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.004676, allocations: 5.094 kB / 0.7918 GB, free: 7.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.004678, allocations: 0 / 0.7918 GB, free: 7.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.004697, allocations: 13.39 kB / 0.7918 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.004701, allocations: 0 / 0.7918 GB, free: 7.332 MB / 0.698 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.696e-05/0.004758, allocations: 156.6 kB / 0.7919 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.004773, allocations: 0 / 0.7919 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.004794, allocations: 7.906 kB / 0.792 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.004797, allocations: 5.281 kB / 0.792 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.004799, allocations: 4 kB / 0.792 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.004801, allocations: 0 / 0.792 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.892e-05/0.00489, allocations: 101.2 kB / 0.7921 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004891, allocations: 0.7188 kB / 0.7921 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.004911, allocations: 4 kB / 0.7921 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.004912, allocations: 1.875 kB / 0.7921 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.004915, allocations: 0 / 0.7921 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.004916, allocations: 0 / 0.7921 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.004917, allocations: 0 / 0.7921 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.158e-05/0.005008, allocations: 196.4 kB / 0.7923 GB, free: 6.812 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.005015, allocations: 3.953 kB / 0.7923 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.005023, allocations: 0.7188 kB / 0.7923 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.005053, allocations: 4 kB / 0.7923 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.005082, allocations: 5.203 kB / 0.7923 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.005088, allocations: 3.938 kB / 0.7923 GB, free: 6.797 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.005122, allocations: 123.2 kB / 0.7924 GB, free: 6.676 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005122, allocations: 0.5625 kB / 0.7924 GB, free: 6.676 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001311/0.005253, allocations: 5.156 kB / 0.7924 GB, free: 6.672 MB / 0.698 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 9.903e-05/0.005352, allocations: 92.8 kB / 0.7925 GB, free: 6.574 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.008e-05/0.005412, allocations: 24.58 kB / 0.7925 GB, free: 6.547 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005413, allocations: 0 / 0.7925 GB, free: 6.547 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.005429, allocations: 16.19 kB / 0.7925 GB, free: 6.527 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.005609, allocations: 7.562 kB / 0.7925 GB, free: 6.523 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.00582, allocations: 119.1 kB / 0.7926 GB, free: 6.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.005851, allocations: 64.34 kB / 0.7927 GB, free: 6.297 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.005865, allocations: 0 / 0.7927 GB, free: 6.297 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.005907, allocations: 71.3 kB / 0.7928 GB, free: 6.227 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.005907, allocations: 0 / 0.7928 GB, free: 6.227 MB / 0.698 GB Notification: Performance of Templates: time 0.001933/0.00784, allocations: 0.5377 MB / 0.7933 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.98440180812031]