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.0009897/0.0009897, allocations: 80.89 kB / 19.94 MB, free: 4.551 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.0009509/0.0009509, allocations: 181 kB / 23.36 MB, free: 1.137 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.9516/0.9516, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.407/2.407, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.754e-06/1.754e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.733e-05, allocations: 4.422 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001138/0.001155, allocations: 0.6794 MB / 0.8393 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000741/0.001896, allocations: 0.8314 MB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.001925, allocations: 4 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.001949, allocations: 3.938 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.986e-05/0.002009, allocations: 3.938 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.002172, allocations: 19.91 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.002234, allocations: 23.92 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.694e-05/0.002301, allocations: 4 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.002368, allocations: 11.98 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.002402, allocations: 4 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.002415, allocations: 4 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.83e-05/0.002453, allocations: 8 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.002469, allocations: 15.91 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.002482, allocations: 8 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.206e-05/0.002554, allocations: 15.92 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.002555, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002556, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.002559, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 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.0002518/0.002811, allocations: 237 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.002841, allocations: 12.62 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.002922, allocations: 8.875 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.97e-05/0.002992, allocations: 105.8 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.003001, allocations: 8.375 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.003011, allocations: 4.312 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.397e-05/0.003095, allocations: 54.94 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.003101, allocations: 192 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-06/0.003107, allocations: 4.312 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.003112, allocations: 384 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.003131, allocations: 11.92 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.003299, allocations: 144.3 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.896e-05/0.003338, allocations: 26.5 kB / 0.8408 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.127e-05/0.003349, allocations: 4.859 kB / 0.8408 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.003361, allocations: 8.062 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.003379, allocations: 30.56 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.00338, allocations: 0 / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.931e-05/0.003469, allocations: 41.73 kB / 0.8409 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.003495, allocations: 55.34 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.401e-05/0.003549, allocations: 102.7 kB / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.00356, allocations: 25.7 kB / 0.8411 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.003587, allocations: 88.12 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.003604, allocations: 7.938 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.003624, allocations: 13.72 kB / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.003695, allocations: 315 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.003701, allocations: 0 / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-06/0.003709, allocations: 4 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.003728, allocations: 12.84 kB / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00373, allocations: 4 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.578e-05/0.003766, allocations: 37.7 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.003775, allocations: 4 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.003778, allocations: 0 / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.003789, allocations: 3.938 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.003842, allocations: 20.02 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.003846, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.003859, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-06/0.003862, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 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 4.287e-05/0.003905, allocations: 109.8 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.003916, allocations: 3.984 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.003971, allocations: 45 kB / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.003972, allocations: 0 / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.003974, allocations: 3.938 kB / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.003976, allocations: 0 / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.339e-05/0.00405, allocations: 69.92 kB / 0.8418 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.004051, allocations: 3.938 kB / 0.8418 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.004068, allocations: 7.984 kB / 0.8418 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004069, allocations: 0 / 0.8418 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-06/0.004073, allocations: 7.938 kB / 0.8418 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.004074, allocations: 0 / 0.8418 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004074, allocations: 0 / 0.8418 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.715e-05/0.004142, allocations: 131.5 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.004147, allocations: 4 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-06/0.004154, allocations: 4 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.004183, allocations: 4.031 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.004205, allocations: 7.984 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.004207, allocations: 0 / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.096e-05/0.004218, allocations: 16.8 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004218, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001116/0.004329, allocations: 7.938 kB / 0.842 GB, free: 10.44 MB / 0.8073 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 6.21e-05/0.004391, allocations: 72.42 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.533e-05/0.004437, allocations: 16.78 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.004438, allocations: 4.062 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.004449, allocations: 8.859 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.004572, allocations: 7.938 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.004862, allocations: 116.7 kB / 0.8422 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.004891, allocations: 59.34 kB / 0.8423 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.213e-05/0.004903, allocations: 0 / 0.8423 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.004938, allocations: 55.44 kB / 0.8423 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of SimCode: time 3.4e-07/0.004938, allocations: 3.938 kB / 0.8423 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.001752/0.00669, allocations: 476.5 kB / 0.8428 GB, free: 9.586 MB / 0.8073 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.365566750057042]