Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001397/0.001397, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00146/0.00146, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.772/2.772, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002188/0.002188, allocations: 63.91 kB / 0.9516 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3444, allocations: 169.9 MB / 1.117 GB, free: 2.453 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.00219/0.3466, allocations: 0.6712 MB / 1.118 GB, free: 1.789 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3477, allocations: 0.8082 MB / 1.119 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.3478, allocations: 4 kB / 1.119 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3478, allocations: 3.938 kB / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.3478, allocations: 0 / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.348, allocations: 19.92 kB / 1.119 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.3481, allocations: 15.98 kB / 1.119 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.3482, allocations: 12 kB / 1.119 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.3483, allocations: 11.86 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.3483, allocations: 11.98 kB / 1.119 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3483, allocations: 4 kB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.223e-05/0.3483, allocations: 4 kB / 1.119 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.3484, allocations: 4 kB / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.3484, allocations: 7.922 kB / 1.119 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3485, allocations: 31.84 kB / 1.119 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3485, allocations: 0 / 1.119 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3485, allocations: 0 / 1.119 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3485, allocations: 0 / 1.119 GB, free: 0.8398 MB / 1.061 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.0004895/0.349, allocations: 266.3 kB / 1.119 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.349, allocations: 8.031 kB / 1.119 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.318e-05/0.3491, allocations: 4.938 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3493, allocations: 118.4 kB / 1.119 GB, free: 404 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3493, allocations: 384 / 1.119 GB, free: 404 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-06/0.3493, allocations: 4.312 kB / 1.119 GB, free: 400 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3495, allocations: 50.23 kB / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3495, allocations: 4.125 kB / 1.12 GB, free: 340 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3495, allocations: 3.938 kB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3495, allocations: 4 kB / 1.12 GB, free: 332 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.3497, allocations: 35.95 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3501, allocations: 188.6 kB / 1.12 GB, free: 76 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3502, allocations: 38.59 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.3503, allocations: 16.91 kB / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3503, allocations: 7.938 kB / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/0.3504, allocations: 38.5 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3504, allocations: 4 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003657/0.3507, allocations: 77.64 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.3508, allocations: 51.41 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.3509, allocations: 101.8 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3509, allocations: 29.64 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.351, allocations: 84.14 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.351, allocations: 7.953 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.351, allocations: 17.84 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3512, allocations: 314.8 kB / 1.12 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.3513, allocations: 15.98 kB / 1.12 GB, free: 15.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.3513, allocations: 19.92 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3515, allocations: 32.83 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3515, allocations: 0 / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.3517, allocations: 77.66 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3517, allocations: 4 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3517, allocations: 0 / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3517, allocations: 4 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.3518, allocations: 7.984 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3518, allocations: 0 / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.3519, allocations: 8.172 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.3519, allocations: 0 / 1.121 GB, free: 15.05 MB / 1.076 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 9.736e-05/0.352, allocations: 117.8 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.352, allocations: 11.88 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.3523, allocations: 72.97 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3523, allocations: 0 / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3523, allocations: 0 / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.3523, allocations: 4 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3524, allocations: 105.3 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3524, allocations: 0 / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.675e-05/0.3525, allocations: 16.02 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.3525, allocations: 3.938 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3525, allocations: 3.938 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3525, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3525, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.3528, allocations: 159.5 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.3528, allocations: 11.94 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.3528, allocations: 0 / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.3529, allocations: 12.02 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.353, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.353, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.08e-05/0.353, allocations: 83.22 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.353, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002342/0.3533, allocations: 4 kB / 1.121 GB, free: 14.39 MB / 1.076 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.0001806/0.3535, allocations: 103.2 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3537, allocations: 35.97 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3537, allocations: 3.938 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.3538, allocations: 19.97 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3542, allocations: 4 kB / 1.121 GB, free: 14.22 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.3546, allocations: 114.1 kB / 1.121 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.806e-05/0.3547, allocations: 55.36 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.3547, allocations: 7.984 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.3548, allocations: 12.62 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.3548, allocations: 0 / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of Templates: time 0.003611/0.3584, allocations: 474.4 kB / 1.122 GB, free: 13.53 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.731589560979046]