Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006324/0.006324, allocations: 96.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 193.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.661/2.661, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 65.91 kB / 0.9509 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3557, allocations: 140.4 MB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001951/0.3578, allocations: 0.6514 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.3587, allocations: 0.7926 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.3587, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.3588, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.3588, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.359, allocations: 15.92 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.3591, allocations: 19.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3592, allocations: 7.984 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.3593, allocations: 11.94 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.3593, allocations: 11.98 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3593, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.3594, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.3594, allocations: 7.938 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.3594, allocations: 4 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.237e-05/0.3595, allocations: 27.83 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3595, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3595, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3595, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 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.0004764/0.36, allocations: 347.4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3601, allocations: 8.031 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.3601, allocations: 4.922 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3602, allocations: 164.4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3603, allocations: 384 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.3603, allocations: 384 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3604, allocations: 54.17 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3605, allocations: 192 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3605, allocations: 3.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3605, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.3607, allocations: 39.91 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.361, allocations: 245 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3611, allocations: 38.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.3613, allocations: 32.84 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3613, allocations: 3.984 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3613, allocations: 30.56 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.3613, allocations: 0 / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003563/0.3617, allocations: 85.55 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3617, allocations: 55.52 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.3618, allocations: 105.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3618, allocations: 25.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.3619, allocations: 84.14 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3619, allocations: 3.953 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.3619, allocations: 13.7 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3621, allocations: 318.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.3621, allocations: 11.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.3622, allocations: 19.98 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3624, allocations: 44.75 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3624, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.3626, allocations: 65.61 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3626, allocations: 8.078 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3626, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3626, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.3627, allocations: 8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3627, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.3628, allocations: 7.984 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3628, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 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 6.878e-05/0.3629, allocations: 113.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.3629, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.3631, allocations: 76.7 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3631, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3632, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3632, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3633, allocations: 161.6 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3633, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.3634, allocations: 11.98 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3634, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.3634, allocations: 4.031 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3634, allocations: 7.938 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3634, allocations: 3.938 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3637, allocations: 163.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.3637, allocations: 81.05 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3637, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.3638, allocations: 12.02 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.3638, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3639, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.3639, allocations: 83.27 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3639, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002104/0.3641, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 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.000139/0.3643, allocations: 99.78 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3645, allocations: 35.97 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3645, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.3646, allocations: 23.91 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3649, allocations: 7.938 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.3652, allocations: 101.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3655, allocations: 0.6769 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.3655, allocations: 3.984 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.3656, allocations: 11.44 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.3656, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.002538/0.3681, allocations: 450.5 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches