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.001726/0.001726, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.002113/0.002113, allocations: 221.5 kB / 23.01 MB, free: 4.605 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] 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 3.268/3.268, allocations: 0.505 GB / 0.8108 GB, free: 22.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 69.7 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001829/0.3215, allocations: 0.6751 MB / 1.355 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3225, allocations: 0.8241 MB / 1.356 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.3225, allocations: 4 kB / 1.356 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.3225, allocations: 0 / 1.356 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.3226, allocations: 7.938 kB / 1.356 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.3228, allocations: 15.98 kB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.3229, allocations: 19.92 kB / 1.356 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.323, allocations: 11.98 kB / 1.356 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.323, allocations: 7.938 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.3231, allocations: 11.98 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3231, allocations: 4 kB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.3231, allocations: 8 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3231, allocations: 3.938 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.3232, allocations: 11.98 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3233, allocations: 27.83 kB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3233, allocations: 0 / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3233, allocations: 0 / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3233, allocations: 0 / 1.356 GB, free: 6.324 MB / 1.045 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.0004355/0.3237, allocations: 270.3 kB / 1.356 GB, free: 6.027 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3238, allocations: 8.031 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/0.3238, allocations: 4.938 kB / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.3239, allocations: 110.5 kB / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.324, allocations: 4.375 kB / 1.356 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.324, allocations: 384 / 1.356 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3241, allocations: 50.23 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3241, allocations: 192 / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3242, allocations: 3.938 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3242, allocations: 7.938 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3243, allocations: 35.95 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.3247, allocations: 219.9 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3248, allocations: 42.48 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.818e-05/0.3249, allocations: 24.89 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.3249, allocations: 0 / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3249, allocations: 38.56 kB / 1.357 GB, free: 5.395 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3249, allocations: 0 / 1.357 GB, free: 5.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003491/0.3253, allocations: 77.58 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3253, allocations: 59.53 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.3254, allocations: 97.86 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3254, allocations: 29.69 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.3255, allocations: 80.14 kB / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.3255, allocations: 7.953 kB / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.3255, allocations: 13.72 kB / 1.357 GB, free: 4.992 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3257, allocations: 314.8 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.3258, allocations: 23.98 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.3258, allocations: 15.97 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.326, allocations: 36.83 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.326, allocations: 0 / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.3262, allocations: 77.48 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3262, allocations: 13.97 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3262, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3262, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3263, allocations: 7.984 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3263, allocations: 4 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.3264, allocations: 0 / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.3264, allocations: 4 kB / 1.357 GB, free: 4.488 MB / 1.045 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 8.91e-05/0.3265, allocations: 117.7 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.3265, allocations: 4 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.3267, allocations: 76.91 kB / 1.358 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3267, allocations: 0 / 1.358 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3267, allocations: 0 / 1.358 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3267, allocations: 0 / 1.358 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3269, allocations: 128.7 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3269, allocations: 0 / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.3269, allocations: 15.92 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3269, allocations: 4.031 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.327, allocations: 0 / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.327, allocations: 4 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.327, allocations: 0 / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3272, allocations: 163.5 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.3272, allocations: 7.953 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3272, allocations: 8.016 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.3273, allocations: 4 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3273, allocations: 7.922 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.3273, allocations: 0 / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.3274, allocations: 83.28 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3274, allocations: 0 / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002184/0.3276, allocations: 4 kB / 1.358 GB, free: 3.801 MB / 1.045 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.0001179/0.3277, allocations: 91.75 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3279, allocations: 43.95 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3279, allocations: 0 / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.328, allocations: 15.98 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3283, allocations: 10.34 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.3286, allocations: 140 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3289, allocations: 0.6768 MB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.3289, allocations: 7.438 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3289, allocations: 0 / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of Templates: time 0.001908/0.3308, allocations: 0.5463 MB / 1.359 GB, free: 2.207 MB / 1.045 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=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/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.183697145985207]