Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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.001039/0.001039, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001135/0.001135, allocations: 161.4 kB / 24.16 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 1.065/1.065, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.957/1.957, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.105e-05, allocations: 9.906 kB / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002464/0.002495, allocations: 0.7355 MB / 0.7608 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003607, allocations: 0.8258 MB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.003644, allocations: 0 / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.003675, allocations: 4.438 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.00375, allocations: 2.594 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.003916, allocations: 12.86 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.003997, allocations: 28.47 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.004079, allocations: 4.766 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/0.004173, allocations: 16.97 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.004214, allocations: 10.22 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.004231, allocations: 4 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.278e-05/0.004294, allocations: 7.938 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.004311, allocations: 5.422 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.004328, allocations: 6.031 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.004435, allocations: 28.66 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004437, allocations: 0.875 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004438, allocations: 1.25 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.004443, allocations: 0 / 0.7618 GB, free: 4.852 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.0003161/0.004759, allocations: 225 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.004798, allocations: 9.062 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.004903, allocations: 12.83 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.82e-05/0.005001, allocations: 110.3 kB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.005013, allocations: 5.688 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.00502, allocations: 1.969 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.005143, allocations: 50.95 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.005153, allocations: 192 / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.00516, allocations: 384 / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.005167, allocations: 1.594 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.648e-05/0.005193, allocations: 11.88 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.005436, allocations: 148.3 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.215e-05/0.005478, allocations: 20.08 kB / 0.7623 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.005494, allocations: 4.859 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.005507, allocations: 4.062 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.005535, allocations: 43.12 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.005537, allocations: 0.7656 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001221/0.005659, allocations: 34.45 kB / 0.7624 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.005692, allocations: 56.09 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.005757, allocations: 106.7 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.005772, allocations: 34.52 kB / 0.7626 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.005805, allocations: 80.14 kB / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.005823, allocations: 5.328 kB / 0.7627 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.005852, allocations: 14.38 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.005947, allocations: 318.8 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.005957, allocations: 4 kB / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.005966, allocations: 0.6562 kB / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.005996, allocations: 14.8 kB / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005997, allocations: 0 / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.597e-05/0.006063, allocations: 38.56 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.006077, allocations: 4 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006081, allocations: 2.438 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.006095, allocations: 0 / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.006173, allocations: 11.94 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006176, allocations: 0 / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.006199, allocations: 3.984 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.006204, allocations: 4 kB / 0.7631 GB, free: 3.355 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 6.038e-05/0.006265, allocations: 112.8 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.006289, allocations: 4.125 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.006371, allocations: 44.98 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006373, allocations: 0 / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.006376, allocations: 3.938 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006379, allocations: 1.031 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.006499, allocations: 67.09 kB / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.006501, allocations: 0 / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.006543, allocations: 8.938 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006546, allocations: 0 / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.006552, allocations: 4.719 kB / 0.7633 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006553, allocations: 0 / 0.7633 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.006554, allocations: 2.75 kB / 0.7633 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.712e-05/0.006651, allocations: 135.4 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.006661, allocations: 7.953 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.006671, allocations: 0 / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.006729, allocations: 3.984 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.006761, allocations: 4.547 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.006764, allocations: 0 / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.008e-05/0.006784, allocations: 23.72 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006784, allocations: 0 / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002198/0.007004, allocations: 7.938 kB / 0.7635 GB, free: 2.895 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 0.0001105/0.007114, allocations: 81.5 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.474e-05/0.007179, allocations: 12.86 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.007182, allocations: 0 / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.92e-05/0.007201, allocations: 14.64 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.0074, allocations: 4 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.007847, allocations: 117.5 kB / 0.7637 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.007887, allocations: 56.02 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.007909, allocations: 0.6562 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.00796, allocations: 52 kB / 0.7638 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.007961, allocations: 0 / 0.7638 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of Templates: time 0.00256/0.01052, allocations: 475.3 kB / 0.7643 GB, free: 2.059 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.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.0786723042838275]