Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00949/0.00949, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.002178/0.002178, allocations: 188.5 kB / 16.67 MB, free: 5.969 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 60.12 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002725/1.079, allocations: 0.6808 MB / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001377/1.081, allocations: 0.7923 MB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/1.081, allocations: 0 / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/1.081, allocations: 0 / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/1.081, allocations: 3.938 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/1.081, allocations: 11.98 kB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/1.082, allocations: 19.92 kB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/1.082, allocations: 12 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/1.082, allocations: 7.938 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/1.082, allocations: 11.98 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/1.082, allocations: 0 / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/1.082, allocations: 4 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/1.082, allocations: 11.92 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/1.082, allocations: 3.984 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/1.082, allocations: 23.91 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.082, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.087e-06/1.082, allocations: 8 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.416e-06/1.082, allocations: 0 / 1.168 GB, free: 2.219 MB / 0.8887 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.0006944/1.083, allocations: 336 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/1.083, allocations: 8.922 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/1.083, allocations: 4.938 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/1.083, allocations: 168.3 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/1.083, allocations: 384 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/1.083, allocations: 384 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/1.084, allocations: 54.23 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.084, allocations: 192 / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.084, allocations: 3.938 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.084, allocations: 4 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/1.084, allocations: 31.95 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/1.084, allocations: 244.9 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/1.085, allocations: 50.42 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/1.085, allocations: 32.78 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/1.085, allocations: 0 / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.085, allocations: 30.56 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.085, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004356/1.085, allocations: 81.64 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/1.085, allocations: 59.34 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/1.085, allocations: 101.8 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/1.085, allocations: 29.7 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/1.086, allocations: 86.58 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/1.086, allocations: 3.953 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/1.086, allocations: 13.72 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.086, allocations: 315 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/1.086, allocations: 19.97 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/1.086, allocations: 15.98 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/1.086, allocations: 36.83 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.086, allocations: 0 / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002185/1.086, allocations: 81.55 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.086, allocations: 4 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.086, allocations: 0 / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/1.086, allocations: 4 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/1.087, allocations: 7.984 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.087, allocations: 0 / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/1.087, allocations: 4 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/1.087, allocations: 12.2 kB / 1.17 GB, free: 196 kB / 0.8887 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 0.0001112/1.087, allocations: 113.8 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/1.087, allocations: 0 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/1.087, allocations: 72.77 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.087, allocations: 4 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.087, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/1.087, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/1.087, allocations: 173.5 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.087, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/1.087, allocations: 4 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.087, allocations: 4 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/1.087, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.087, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.087, allocations: 7.922 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/1.088, allocations: 163.5 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/1.088, allocations: 85.05 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/1.088, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/1.088, allocations: 4 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/1.088, allocations: 7.984 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/1.088, allocations: 3.938 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.02e-05/1.088, allocations: 83.28 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.8e-07/1.088, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002348/1.088, allocations: 4.031 kB / 1.171 GB, free: 15.37 MB / 0.9044 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.0002017/1.089, allocations: 103.2 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002549/1.089, allocations: 35.95 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.089, allocations: 4 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/1.089, allocations: 15.98 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/1.089, allocations: 12.06 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/1.09, allocations: 106 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/1.09, allocations: 0.6768 MB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.797e-05/1.09, allocations: 3.938 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/1.09, allocations: 7.438 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of SimCode: time 1.052e-06/1.09, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of Templates: time 0.002907/1.093, allocations: 452 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches