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.001447/0.001447, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001567/0.001567, allocations: 169 kB / 23.27 MB, free: 1.223 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.9888/0.9888, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 2.32/2.32, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] 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 3.346e-06/3.346e-06, allocations: 0 / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.486e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002158/0.002193, allocations: 0.6871 MB / 0.8905 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003308, allocations: 0.8353 MB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.00335, allocations: 0 / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.003381, allocations: 3.938 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.003522, allocations: 7.938 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.003718, allocations: 11.98 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.003795, allocations: 31.92 kB / 0.8914 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.003894, allocations: 0 / 0.8914 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.154e-05/0.003986, allocations: 15.92 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.004027, allocations: 11.98 kB / 0.8914 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.004043, allocations: 4 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.004098, allocations: 7.938 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.004114, allocations: 3.984 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.00413, allocations: 4 kB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.004237, allocations: 23.92 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.00424, allocations: 0 / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004242, allocations: 0 / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.004246, allocations: 0 / 0.8914 GB, free: 8.031 MB / 0.8542 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.0003973/0.004643, allocations: 364.6 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.004693, allocations: 8.625 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.004802, allocations: 12.83 kB / 0.8918 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.004893, allocations: 112.6 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.004905, allocations: 384 / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.004911, allocations: 384 / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.005041, allocations: 58.95 kB / 0.892 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.005051, allocations: 4.125 kB / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.005061, allocations: 8.344 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005067, allocations: 384 / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.005088, allocations: 7.938 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.005345, allocations: 228.4 kB / 0.8922 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.294e-05/0.005398, allocations: 27.06 kB / 0.8922 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.005414, allocations: 11.8 kB / 0.8922 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.00544, allocations: 3.984 kB / 0.8922 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.005466, allocations: 37.33 kB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.005467, allocations: 4 kB / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001456/0.005613, allocations: 41.64 kB / 0.8923 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.005648, allocations: 55.41 kB / 0.8924 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.005733, allocations: 157.9 kB / 0.8925 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.005744, allocations: 25.7 kB / 0.8925 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.005801, allocations: 134.8 kB / 0.8927 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.00582, allocations: 0 / 0.8927 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.005854, allocations: 23.38 kB / 0.8927 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000306/0.00616, allocations: 496.1 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.006178, allocations: 4 kB / 0.8932 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.006192, allocations: 12.06 kB / 0.8932 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.006225, allocations: 11.69 kB / 0.8932 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006227, allocations: 0 / 0.8932 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.177e-05/0.006299, allocations: 37.66 kB / 0.8932 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006311, allocations: 4 kB / 0.8932 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.006317, allocations: 0 / 0.8932 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.006335, allocations: 7.938 kB / 0.8932 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.006411, allocations: 7.984 kB / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.006414, allocations: 0 / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.006437, allocations: 8.094 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.006441, allocations: 4 kB / 0.8933 GB, free: 5.949 MB / 0.8542 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 7.48e-05/0.006516, allocations: 156.5 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.006537, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.836e-05/0.006635, allocations: 48.94 kB / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.006638, allocations: 3.938 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.00664, allocations: 0 / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.006644, allocations: 3.984 kB / 0.8935 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.006774, allocations: 97.25 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006776, allocations: 32 / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.006819, allocations: 12 kB / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006822, allocations: 0 / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.006827, allocations: 3.984 kB / 0.8936 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.006829, allocations: 0 / 0.8936 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.00683, allocations: 0 / 0.8936 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.006951, allocations: 191.8 kB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.006959, allocations: 3.953 kB / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.006969, allocations: 3.984 kB / 0.8938 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.007024, allocations: 4 kB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.007054, allocations: 32 / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.007059, allocations: 7.938 kB / 0.8938 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.007101, allocations: 127.4 kB / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.007101, allocations: 0 / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002142/0.007315, allocations: 7.938 kB / 0.8939 GB, free: 5.227 MB / 0.8542 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.0001146/0.00743, allocations: 91.25 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.629e-05/0.007506, allocations: 15.69 kB / 0.894 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007508, allocations: 3.938 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.007529, allocations: 15.75 kB / 0.894 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.009824, allocations: 10.55 kB / 0.894 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.01028, allocations: 118.5 kB / 0.8941 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.01031, allocations: 59.3 kB / 0.8942 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.01033, allocations: 144 / 0.8942 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.01038, allocations: 74.19 kB / 0.8943 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/0.01038, allocations: 0 / 0.8943 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of Templates: time 0.001986/0.01237, allocations: 0.5292 MB / 0.8948 GB, free: 4.254 MB / 0.8542 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","",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.215525577776134]