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.001746/0.001746, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001928/0.001928, allocations: 216.8 kB / 22.99 MB, free: 4.914 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.149/3.149, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002104/0.002104, allocations: 70.44 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001965/0.3179, allocations: 0.6585 MB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3189, allocations: 0.8203 MB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.319, allocations: 3.938 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.319, allocations: 0 / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.319, allocations: 3.938 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.3192, allocations: 11.98 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.3193, allocations: 27.92 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.3194, allocations: 11.92 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.3194, allocations: 11.98 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.3195, allocations: 7.938 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3195, allocations: 0 / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.3195, allocations: 8 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.3195, allocations: 11.98 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.3196, allocations: 7.938 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3197, allocations: 31.83 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3197, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3197, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3197, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 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.0004551/0.3201, allocations: 267.5 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3202, allocations: 8.031 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.3203, allocations: 8.922 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3204, allocations: 114.4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3204, allocations: 4.375 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3204, allocations: 384 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3206, allocations: 50.23 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3206, allocations: 192 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.3206, allocations: 3.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3206, allocations: 4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3208, allocations: 31.97 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.3211, allocations: 200.5 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3212, allocations: 34.56 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.3213, allocations: 20.91 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3213, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3214, allocations: 42.55 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3214, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000348/0.3217, allocations: 73.59 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3217, allocations: 63.39 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.3218, allocations: 93.86 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3219, allocations: 25.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.3219, allocations: 84.14 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3219, allocations: 7.953 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.322, allocations: 17.83 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3221, allocations: 322.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.3222, allocations: 11.98 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.3223, allocations: 15.98 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3224, allocations: 40.81 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3224, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/0.3226, allocations: 73.61 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3226, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3226, allocations: 7.922 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3227, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.3227, allocations: 8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3228, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.3228, allocations: 7.984 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3228, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 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.613e-05/0.3229, allocations: 113.9 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.3229, allocations: 11.89 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.3232, allocations: 68.91 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3232, allocations: 3.984 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3232, allocations: 4 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3232, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3233, allocations: 101.3 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3233, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.3234, allocations: 12.02 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.3234, allocations: 11.94 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3234, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3234, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3234, allocations: 192 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3236, allocations: 159.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.3237, allocations: 7.922 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3237, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.3237, allocations: 8.016 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3238, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3238, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.3238, allocations: 91.2 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3238, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002205/0.3241, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 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.000112/0.3242, allocations: 97.34 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.3244, allocations: 47.89 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3244, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/0.3245, allocations: 15.98 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3248, allocations: 5.719 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.3251, allocations: 131.9 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.521e-05/0.3251, allocations: 59.34 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.3252, allocations: 11.44 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3252, allocations: 4.125 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of Templates: time 0.002126/0.3273, allocations: 0.5489 MB / 1.331 GB, free: 12.8 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 10.890759233385324]