Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.29/2.29, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.3 MB / 0.7915 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 87.91 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.361e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2676, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9454/1.213, allocations: 150.5 MB / 1.366 GB, free: 3.535 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.213, allocations: 71.08 kB / 1.366 GB, free: 3.496 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007171/1.221, allocations: 2.466 MB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.34e-06/1.221, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.682e-06/1.221, allocations: 7.875 kB / 1.368 GB, free: 1.355 MB / 0.823 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.000386/1.221, allocations: 365.7 kB / 1.369 GB, free: 0.957 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.221, allocations: 8.031 kB / 1.369 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/1.221, allocations: 4.625 kB / 1.369 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/1.221, allocations: 170.9 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.221, allocations: 2.062 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/1.221, allocations: 0 / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/1.221, allocations: 37.19 kB / 1.369 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.221, allocations: 0 / 1.369 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/1.221, allocations: 4 kB / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.221, allocations: 0 / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/1.222, allocations: 11.25 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/1.222, allocations: 267.3 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/1.222, allocations: 29.67 kB / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/1.222, allocations: 12.3 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/1.223, allocations: 457.2 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/1.223, allocations: 30.56 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/1.223, allocations: 0 / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001497/1.223, allocations: 45.19 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/1.223, allocations: 55.44 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/1.223, allocations: 92.95 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/1.223, allocations: 33.39 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/1.223, allocations: 84.08 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/1.223, allocations: 3.906 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/1.223, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.223, allocations: 317.6 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/1.223, allocations: 4 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/1.223, allocations: 11.12 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/1.223, allocations: 4 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.223, allocations: 0 / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.375e-05/1.223, allocations: 41.33 kB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.223, allocations: 8 kB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.223, allocations: 0 / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/1.223, allocations: 7.875 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/1.224, allocations: 11.98 kB / 1.37 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.224, allocations: 4.094 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/1.224, allocations: 15.36 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/1.224, allocations: 3.953 kB / 1.37 GB, free: 15.01 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/1.224, allocations: 101 kB / 1.37 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/1.224, allocations: 7.906 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/1.224, allocations: 52.31 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/1.224, allocations: 0 / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.224, allocations: 4.031 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.224, allocations: 0 / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/1.224, allocations: 163.9 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.224, allocations: 0 / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/1.224, allocations: 8 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.224, allocations: 4.188 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/1.224, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.224, allocations: 3.984 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.224, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/1.224, allocations: 145.8 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/1.224, allocations: 77.11 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/1.224, allocations: 3.984 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/1.224, allocations: 8 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/1.224, allocations: 3.938 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.224, allocations: 3.984 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.162e-05/1.224, allocations: 86.5 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.224, allocations: 0 / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002497/1.225, allocations: 39.94 kB / 1.371 GB, free: 14.23 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003173/1.225, allocations: 162.4 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.934e-05/1.225, allocations: 10.5 kB / 1.371 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.225, allocations: 0 / 1.371 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/1.225, allocations: 11 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/1.225, allocations: 11.89 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/1.226, allocations: 64.98 kB / 1.371 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/1.226, allocations: 0.677 MB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.14e-05/1.226, allocations: 0 / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/1.226, allocations: 11.44 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.226, allocations: 0 / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of Templates: time 0.002885/1.229, allocations: 0.7768 MB / 1.373 GB, free: 12.48 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches