Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002352/0.002352, allocations: 81.5 kB / 19.44 MB, free: 340 kB / 13.93 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.002803/0.002803, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.431/3.431, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8775 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.11e-05, allocations: 8.453 kB / 0.8775 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001911/0.001942, allocations: 0.668 MB / 0.8782 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003063, allocations: 0.8213 MB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.003095, allocations: 0.5938 kB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.003119, allocations: 4.688 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.003183, allocations: 1.969 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.00336, allocations: 13.84 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.003443, allocations: 32.83 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.985e-05/0.003523, allocations: 4 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.003604, allocations: 20.58 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.00364, allocations: 9.234 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.003654, allocations: 0 / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.016e-05/0.003694, allocations: 4 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.003709, allocations: 4 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.003728, allocations: 4.938 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003841, allocations: 39.81 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003843, allocations: 1.031 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003844, allocations: 0 / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003848, allocations: 0 / 0.8791 GB, free: 4.957 MB / 0.8386 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.0005069/0.004355, allocations: 357.4 kB / 0.8794 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.004389, allocations: 8.031 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.004484, allocations: 4.938 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004612, allocations: 121.6 kB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.004626, allocations: 4.375 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.004633, allocations: 384 / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.004776, allocations: 53.62 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.004784, allocations: 192 / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004793, allocations: 384 / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.004797, allocations: 384 / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.00491, allocations: 23.92 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.00529, allocations: 251.8 kB / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.0054, allocations: 31.06 kB / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.00547, allocations: 28.73 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.005491, allocations: 0 / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.005526, allocations: 33.39 kB / 0.88 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.005526, allocations: 0.5 kB / 0.88 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002924/0.005819, allocations: 71.11 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.005869, allocations: 55.41 kB / 0.8801 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.006001, allocations: 159.1 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.006023, allocations: 25.7 kB / 0.8803 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.006401, allocations: 134.9 kB / 0.8804 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.006419, allocations: 5.297 kB / 0.8804 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.006463, allocations: 19.38 kB / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002608/0.006724, allocations: 496.1 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.006788, allocations: 20.05 kB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.00683, allocations: 8 kB / 0.8809 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.006938, allocations: 35.61 kB / 0.881 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00694, allocations: 0 / 0.881 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001547/0.007094, allocations: 53.67 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.00712, allocations: 8 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.007126, allocations: 3.938 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.00714, allocations: 192 / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.007214, allocations: 8.094 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.007222, allocations: 3.938 kB / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.007263, allocations: 11.94 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.007273, allocations: 7.984 kB / 0.8811 GB, free: 2.758 MB / 0.8386 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 0.0001071/0.00738, allocations: 152.6 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.007402, allocations: 4 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.007585, allocations: 64.92 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007587, allocations: 0 / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.00759, allocations: 0 / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007593, allocations: 4.031 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.007746, allocations: 116.6 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.00775, allocations: 4 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.007793, allocations: 4 kB / 0.8814 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.007794, allocations: 0 / 0.8814 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.007804, allocations: 4 kB / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.007808, allocations: 3.938 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.007808, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.008062, allocations: 203.9 kB / 0.8816 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.008071, allocations: 8.031 kB / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.008083, allocations: 0 / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.008145, allocations: 7.938 kB / 0.8816 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.008185, allocations: 3.984 kB / 0.8816 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.008188, allocations: 0 / 0.8816 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.586e-05/0.008264, allocations: 127.2 kB / 0.8817 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008264, allocations: 0 / 0.8817 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002042/0.008468, allocations: 7.953 kB / 0.8817 GB, free: 1.984 MB / 0.8386 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.0001243/0.008593, allocations: 91.25 kB / 0.8818 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.008766, allocations: 43.59 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008768, allocations: 0 / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.008841, allocations: 23.69 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.009086, allocations: 10.44 kB / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.009403, allocations: 110.4 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.038e-05/0.009473, allocations: 63.2 kB / 0.8821 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.009499, allocations: 4.125 kB / 0.8821 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.009532, allocations: 12.5 kB / 0.8821 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.009533, allocations: 0 / 0.8821 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.003448/0.01298, allocations: 0.4971 MB / 0.8826 GB, free: 1.086 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.655021558050066]