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.0009378/0.0009378, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001663/0.001663, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9738/0.9738, allocations: 177.1 MB / 204.6 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.871/1.871, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.563e-06/1.563e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.934e-05, allocations: 3.875 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001744/0.001764, allocations: 0.6828 MB / 0.7607 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.002795, allocations: 0.8457 MB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.002833, allocations: 4 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.002861, allocations: 4.594 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.002928, allocations: 2.078 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.00306, allocations: 7.984 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.003137, allocations: 30.12 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.003209, allocations: 3.984 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.376e-05/0.003293, allocations: 17.45 kB / 0.7616 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.003332, allocations: 8.875 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.003353, allocations: 5.031 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/0.00336, allocations: 0 / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.003379, allocations: 4.859 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003399, allocations: 9.312 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.532e-05/0.003474, allocations: 16.91 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003476, allocations: 0.875 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003477, allocations: 0.6562 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.00348, allocations: 0.75 kB / 0.7617 GB, free: 4.918 MB / 0.7136 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.0003009/0.003781, allocations: 225 kB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.003817, allocations: 8.719 kB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.003849, allocations: 16.92 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.243e-05/0.003931, allocations: 106.8 kB / 0.762 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.003942, allocations: 5.688 kB / 0.762 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.003952, allocations: 384 / 0.762 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.004064, allocations: 51.58 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.004073, allocations: 0.9062 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.004082, allocations: 4.312 kB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.00409, allocations: 4.891 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.004117, allocations: 12.95 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.004349, allocations: 144.3 kB / 0.7622 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.326e-05/0.004402, allocations: 23.64 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.004418, allocations: 4.922 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.004431, allocations: 4 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.004459, allocations: 35.03 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.00446, allocations: 2.766 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.004586, allocations: 33.7 kB / 0.7623 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.004625, allocations: 59.33 kB / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.004692, allocations: 102.7 kB / 0.7625 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.004705, allocations: 30.92 kB / 0.7625 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.004743, allocations: 84.12 kB / 0.7626 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.004762, allocations: 3.953 kB / 0.7626 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.004797, allocations: 18.45 kB / 0.7626 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.0049, allocations: 310.8 kB / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.00491, allocations: 5.281 kB / 0.7629 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.004921, allocations: 3.938 kB / 0.7629 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.004947, allocations: 9.609 kB / 0.7629 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004949, allocations: 1.594 kB / 0.7629 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.224e-05/0.005011, allocations: 37.69 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.005024, allocations: 4 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005029, allocations: 1.469 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.005041, allocations: 0 / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.005108, allocations: 16.95 kB / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.00511, allocations: 0 / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.00513, allocations: 0 / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.005138, allocations: 9.156 kB / 0.763 GB, free: 3.422 MB / 0.7136 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.787e-05/0.005196, allocations: 113.8 kB / 0.7631 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.005216, allocations: 1.625 kB / 0.7631 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.005238, allocations: 7.969 kB / 0.7631 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.00524, allocations: 0 / 0.7631 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.005242, allocations: 3.938 kB / 0.7631 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.005246, allocations: 6.734 kB / 0.7631 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.005359, allocations: 65.84 kB / 0.7632 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00536, allocations: 0 / 0.7632 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.005385, allocations: 5.203 kB / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.005386, allocations: 0 / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.005393, allocations: 7.984 kB / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.005393, allocations: 0 / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.005396, allocations: 4 kB / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.851e-05/0.005484, allocations: 133.5 kB / 0.7633 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.005494, allocations: 11.94 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.005504, allocations: 4 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.005554, allocations: 0 / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.00558, allocations: 4.875 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.005583, allocations: 4 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.373e-05/0.005597, allocations: 13.66 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.005597, allocations: 0.7188 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002046/0.005801, allocations: 4 kB / 0.7634 GB, free: 3.004 MB / 0.7136 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 8.155e-05/0.005883, allocations: 78.8 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.475e-05/0.005938, allocations: 12.86 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.005941, allocations: 4 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.005958, allocations: 9.719 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.006132, allocations: 11.92 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.00636, allocations: 121 kB / 0.7636 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.006394, allocations: 51.36 kB / 0.7637 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.006413, allocations: 4 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.006456, allocations: 47.38 kB / 0.7637 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.006457, allocations: 0 / 0.7637 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of Templates: time 0.002227/0.008684, allocations: 466.1 kB / 0.7642 GB, free: 2.176 MB / 0.7136 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: 4.977971110027283]