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.001816/0.001816, allocations: 83.75 kB / 20.23 MB, free: 4.039 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.001941/0.001941, allocations: 157.4 kB / 23.55 MB, free: 0.7266 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.647/1.647, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.041/3.041, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.524e-06/2.524e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.72e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002011/0.002048, allocations: 0.6706 MB / 0.8115 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003429, allocations: 0.8249 MB / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.003469, allocations: 0 / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.003494, allocations: 0 / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.003572, allocations: 4.719 kB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.003796, allocations: 17.66 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.003878, allocations: 23.92 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.003979, allocations: 4 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.004073, allocations: 15.92 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.004114, allocations: 8 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.00413, allocations: 1.531 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.004178, allocations: 4 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.004195, allocations: 3.984 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.004223, allocations: 8 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.004353, allocations: 37.02 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.004357, allocations: 0 / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004358, allocations: 0 / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.004363, allocations: 1.594 kB / 0.8125 GB, free: 432 kB / 0.7605 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.0005427/0.004906, allocations: 356.3 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.004949, allocations: 8.031 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.005067, allocations: 12.83 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.005216, allocations: 113.3 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.005229, allocations: 384 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.005238, allocations: 0.9062 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.005398, allocations: 51.89 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.005407, allocations: 192 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.005416, allocations: 384 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.00542, allocations: 384 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.00555, allocations: 24.58 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.005943, allocations: 251.8 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.006064, allocations: 44.06 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.006127, allocations: 16.91 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.006155, allocations: 3.984 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.006193, allocations: 37.39 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.006194, allocations: 1.375 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003083/0.006502, allocations: 69.52 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.006557, allocations: 61.14 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.006688, allocations: 157.9 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.00671, allocations: 25.7 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.006802, allocations: 134.9 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.006822, allocations: 5.984 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.006863, allocations: 19.36 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002679/0.007131, allocations: 0.4884 MB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.00719, allocations: 8 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.00724, allocations: 15.92 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.007347, allocations: 34.77 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00735, allocations: 0 / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001679/0.007517, allocations: 53.62 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.007534, allocations: 8 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.007546, allocations: 7.922 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.007563, allocations: 1.781 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.007642, allocations: 4 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.007648, allocations: 0 / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.007682, allocations: 4 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007687, allocations: 0 / 0.8144 GB, free: 14.24 MB / 0.7761 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.0001178/0.007805, allocations: 153.7 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.007839, allocations: 12.17 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.008031, allocations: 66.61 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008033, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008037, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.008042, allocations: 3.984 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.008211, allocations: 119.2 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008212, allocations: 0 / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.008259, allocations: 7.984 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.00826, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.008267, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.008271, allocations: 3.938 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008272, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.008532, allocations: 205 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.008544, allocations: 8.797 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.008556, allocations: 0 / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.008619, allocations: 8.469 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.008657, allocations: 3.938 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.00866, allocations: 0.8438 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.008735, allocations: 127.2 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008735, allocations: 3.688 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002071/0.008942, allocations: 8 kB / 0.8151 GB, free: 13.46 MB / 0.7761 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.0001431/0.009085, allocations: 95.25 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.009273, allocations: 31.67 kB / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.009275, allocations: 0 / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.009343, allocations: 23.61 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.009602, allocations: 13.88 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.009928, allocations: 118.3 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.433e-05/0.01, allocations: 67.19 kB / 0.8154 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.01002, allocations: 1.031 kB / 0.8154 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.01005, allocations: 12.5 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01005, allocations: 1.062 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of Templates: time 0.003373/0.01343, allocations: 485.2 kB / 0.8159 GB, free: 12.59 MB / 0.7761 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.220724432962015]