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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.049/3.049, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002026/0.002026, allocations: 72.12 kB / 1.103 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9725/0.9745, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001841/0.9764, allocations: 0.6753 MB / 1.263 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.9773, allocations: 0.7907 MB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.9774, allocations: 1.312 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.9774, allocations: 1.859 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.9775, allocations: 5 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.9777, allocations: 8 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.9777, allocations: 29.41 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.9778, allocations: 4.906 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.9779, allocations: 11.73 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.978, allocations: 13.78 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.978, allocations: 1.438 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.978, allocations: 2.25 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.978, allocations: 9.75 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.9781, allocations: 11.44 kB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.9782, allocations: 25.66 kB / 1.264 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9782, allocations: 4 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9782, allocations: 0 / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.9782, allocations: 0.8438 kB / 1.264 GB, free: 6.906 MB / 0.9981 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.0004012/0.9786, allocations: 331.5 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.9786, allocations: 9.188 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.9787, allocations: 6.281 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.9788, allocations: 163.3 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.9788, allocations: 1.781 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.9788, allocations: 1.781 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.979, allocations: 52.34 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.979, allocations: 1.703 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.979, allocations: 3.938 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.979, allocations: 0.9688 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.9792, allocations: 36.12 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.9795, allocations: 246.4 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.9796, allocations: 44.86 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.9797, allocations: 23 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.9798, allocations: 1.438 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.9798, allocations: 35.95 kB / 1.265 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.9798, allocations: 4.828 kB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003654/0.9802, allocations: 91.64 kB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.9802, allocations: 51.41 kB / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.9803, allocations: 102.2 kB / 1.265 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.9803, allocations: 25.7 kB / 1.265 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.9803, allocations: 81.59 kB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.9803, allocations: 6.25 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.9804, allocations: 20.23 kB / 1.265 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.9804, allocations: 313.2 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.9805, allocations: 18.09 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.9806, allocations: 17.77 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.9808, allocations: 45.55 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9808, allocations: 0.6875 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.981, allocations: 67.05 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.981, allocations: 5.609 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.981, allocations: 0.6875 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.981, allocations: 3.938 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.9811, allocations: 9 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9811, allocations: 0.8438 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.9812, allocations: 10.25 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.9812, allocations: 1.375 kB / 1.266 GB, free: 5.195 MB / 0.9981 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.756e-05/0.9813, allocations: 119.5 kB / 1.266 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.9813, allocations: 0.8438 kB / 1.266 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.9815, allocations: 71.61 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.9815, allocations: 0.6875 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9816, allocations: 4.594 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.9816, allocations: 0.75 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.9817, allocations: 163.7 kB / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9817, allocations: 0 / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.9818, allocations: 12.88 kB / 1.266 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9818, allocations: 1.266 kB / 1.266 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.9818, allocations: 0.6562 kB / 1.266 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9818, allocations: 4.688 kB / 1.266 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9818, allocations: 0.6094 kB / 1.266 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.982, allocations: 170.5 kB / 1.266 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.982, allocations: 78.52 kB / 1.267 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.9821, allocations: 1.312 kB / 1.267 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.9821, allocations: 10.09 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.9822, allocations: 3.078 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.9822, allocations: 0.75 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.9822, allocations: 83.88 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9822, allocations: 0 / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002111/0.9825, allocations: 3.625 kB / 1.267 GB, free: 4.5 MB / 0.9981 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.0001329/0.9826, allocations: 99.16 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.9828, allocations: 39.28 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9828, allocations: 0 / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.9829, allocations: 24.23 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.9832, allocations: 7.172 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.9835, allocations: 142.6 kB / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.9836, allocations: 0.6794 MB / 1.268 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.9837, allocations: 8.938 kB / 1.268 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/0.9837, allocations: 0 / 1.268 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of Templates: time 0.002251/0.9859, allocations: 0.5397 MB / 1.268 GB, free: 3.512 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.42492503207177]