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.00115/0.00115, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002599, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001004/0.001004, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002355, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9681/0.9681, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1177/1.086, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.51/2.51, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2665/2.777, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.803e-06/1.803e-06, allocations: 0 / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.269e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001315/0.001338, allocations: 0.7262 MB / 0.8191 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006935/0.002031, allocations: 0.8353 MB / 0.8199 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.002057, allocations: 4 kB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.002077, allocations: 0 / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.242e-05/0.00211, allocations: 7.938 kB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.535e-05/0.002185, allocations: 11.98 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.002248, allocations: 27.86 kB / 0.8199 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.002329, allocations: 7.984 kB / 0.8199 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.002406, allocations: 15.98 kB / 0.82 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.002443, allocations: 4 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.002458, allocations: 4 kB / 0.82 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.008e-05/0.002518, allocations: 4 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.00253, allocations: 3.938 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.348e-05/0.002543, allocations: 4 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.788e-05/0.002631, allocations: 27.92 kB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.002645, allocations: 3.938 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002646, allocations: 0 / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.002661, allocations: 0 / 0.82 GB, free: 1.117 MB / 0.7917 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.0003445/0.003005, allocations: 236.6 kB / 0.8202 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.003041, allocations: 8.625 kB / 0.8202 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.003175, allocations: 89.92 kB / 0.8203 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.744e-05/0.003253, allocations: 113.8 kB / 0.8204 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.003261, allocations: 384 / 0.8204 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.003269, allocations: 8.359 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.003366, allocations: 50.95 kB / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.003373, allocations: 192 / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-06/0.003378, allocations: 384 / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.003383, allocations: 4.375 kB / 0.8205 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.003404, allocations: 3.938 kB / 0.8205 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.003604, allocations: 152.2 kB / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.081e-05/0.003644, allocations: 22.58 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.149e-05/0.003656, allocations: 4.859 kB / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.003674, allocations: 0 / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.0037, allocations: 34.62 kB / 0.8207 GB, free: 296 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.003701, allocations: 4 kB / 0.8207 GB, free: 292 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 9.87e-05/0.003799, allocations: 41.67 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.003829, allocations: 55.34 kB / 0.8208 GB, free: 176 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.003885, allocations: 102.7 kB / 0.8209 GB, free: 60 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.003896, allocations: 29.7 kB / 0.8209 GB, free: 24 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.003939, allocations: 80.14 kB / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.003957, allocations: 11.94 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.003976, allocations: 9.719 kB / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.004055, allocations: 314.8 kB / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.004064, allocations: 4 kB / 0.8213 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/0.004074, allocations: 12.11 kB / 0.8213 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.004094, allocations: 8.859 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.004096, allocations: 0 / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.865e-05/0.004135, allocations: 41.62 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.004145, allocations: 4 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004149, allocations: 0 / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.004156, allocations: 3.938 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.004221, allocations: 7.938 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.004224, allocations: 0 / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.004239, allocations: 8.094 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.004242, allocations: 0 / 0.8214 GB, free: 15.5 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 5.205e-05/0.004294, allocations: 117.8 kB / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.004304, allocations: 0 / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.004366, allocations: 41.12 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004368, allocations: 4 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.004371, allocations: 7.922 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.004374, allocations: 0 / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.206e-05/0.004446, allocations: 69.83 kB / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.004448, allocations: 3.984 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.004464, allocations: 8.031 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.004471, allocations: 7.953 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.004472, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.004477, allocations: 4 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.004477, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.004479, allocations: 3.938 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.884e-05/0.004538, allocations: 127.5 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.004546, allocations: 4 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.566e-05/0.004572, allocations: 0 / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.004606, allocations: 3.984 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.004608, allocations: 11.97 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.087e-05/0.004619, allocations: 8.797 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004619, allocations: 0 / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001053/0.004725, allocations: 4 kB / 0.8218 GB, free: 15.03 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.416e-05/0.004789, allocations: 84.41 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.049e-05/0.004839, allocations: 8.859 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.004844, allocations: 4 kB / 0.8219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.004856, allocations: 8.859 kB / 0.8219 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.004986, allocations: 8.125 kB / 0.8219 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.005531, allocations: 131.2 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.005564, allocations: 51.36 kB / 0.8221 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.00558, allocations: 4 kB / 0.8221 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.005617, allocations: 51.38 kB / 0.8222 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of SimCode: time 1.072e-06/0.005619, allocations: 0 / 0.8222 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.00181/0.007429, allocations: 491.5 kB / 0.8226 GB, free: 14.15 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.ref.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.22350740339607]