Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.001234/0.001234, allocations: 88.22 kB / 19.64 MB, free: 276 kB / 13.93 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.001157/0.001157, allocations: 177 kB / 23.02 MB, free: 1.539 MB / 18.57 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 0.985/0.985, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.096/2.096, allocations: 429.5 MB / 0.6732 GB, free: 3.848 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8782 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.018e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0011/0.00112, allocations: 0.6077 MB / 0.8788 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004851/0.001605, allocations: 267.2 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.307e-05/0.001618, allocations: 0.5312 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.001637, allocations: 0.875 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.001643, allocations: 0.875 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.002053, allocations: 100 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.134e-05/0.002094, allocations: 5.203 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.002132, allocations: 0 / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.37e-05/0.002155, allocations: 0 / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.795e-05/0.002173, allocations: 5.031 kB / 0.8792 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.002182, allocations: 0 / 0.8792 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.002374, allocations: 115.8 kB / 0.8793 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.002385, allocations: 5.062 kB / 0.8793 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.402e-05/0.002399, allocations: 0 / 0.8793 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.002537, allocations: 87.75 kB / 0.8794 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002539, allocations: 1.094 kB / 0.8794 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002539, allocations: 0 / 0.8794 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.002543, allocations: 0 / 0.8794 GB, free: 5.043 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002541/0.002797, allocations: 357.3 kB / 0.8797 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.002832, allocations: 8.031 kB / 0.8797 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.002864, allocations: 0.9375 kB / 0.8797 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.58e-05/0.002919, allocations: 105.4 kB / 0.8798 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.002932, allocations: 4.375 kB / 0.8798 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.002939, allocations: 0.9375 kB / 0.8798 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.008e-05/0.003019, allocations: 31.89 kB / 0.8799 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003026, allocations: 192 / 0.8799 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.003033, allocations: 384 / 0.8799 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00304, allocations: 384 / 0.8799 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.484e-05/0.003055, allocations: 17.48 kB / 0.8799 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.64e-05/0.003151, allocations: 104.6 kB / 0.88 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.003193, allocations: 31.08 kB / 0.88 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.003209, allocations: 7.688 kB / 0.88 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003735/0.003583, allocations: 83.11 kB / 0.8801 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.003604, allocations: 33.39 kB / 0.8801 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.003604, allocations: 0 / 0.8801 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.003717, allocations: 44.72 kB / 0.8802 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.003741, allocations: 51.41 kB / 0.8802 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.746e-05/0.003779, allocations: 142.2 kB / 0.8804 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.003787, allocations: 25.7 kB / 0.8804 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.003815, allocations: 138.8 kB / 0.8805 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.00384, allocations: 4.297 kB / 0.8805 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.003861, allocations: 15.38 kB / 0.8805 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.003968, allocations: 0.4883 MB / 0.881 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-06/0.003976, allocations: 1.438 kB / 0.881 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.003983, allocations: 7.984 kB / 0.881 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.004009, allocations: 11.88 kB / 0.881 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004011, allocations: 4 kB / 0.881 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.231e-05/0.004053, allocations: 37.64 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.004065, allocations: 4 kB / 0.8811 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.004069, allocations: 0 / 0.8811 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.004082, allocations: 4 kB / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.732e-05/0.004119, allocations: 0 / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.004124, allocations: 0 / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-06/0.004132, allocations: 3.938 kB / 0.8811 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.004137, allocations: 0 / 0.8811 GB, free: 3.109 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.816e-05/0.004195, allocations: 164.6 kB / 0.8812 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-06/0.004198, allocations: 4.031 kB / 0.8812 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.004256, allocations: 40.64 kB / 0.8813 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.004257, allocations: 0 / 0.8813 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.004261, allocations: 0 / 0.8813 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004263, allocations: 0 / 0.8813 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.231e-05/0.004315, allocations: 116.6 kB / 0.8814 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.004316, allocations: 0 / 0.8814 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.004321, allocations: 0 / 0.8814 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004322, allocations: 0 / 0.8814 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.004326, allocations: 0 / 0.8814 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.004328, allocations: 8.031 kB / 0.8814 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004328, allocations: 0 / 0.8814 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.443e-05/0.004373, allocations: 72.38 kB / 0.8815 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.004377, allocations: 4 kB / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.004384, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-06/0.004387, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.004399, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.61e-07/0.0044, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.004427, allocations: 127.2 kB / 0.8816 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.004427, allocations: 3.938 kB / 0.8816 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001411/0.004568, allocations: 27.94 kB / 0.8816 GB, free: 2.477 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001665/0.004735, allocations: 147.1 kB / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.535e-05/0.0048, allocations: 15.69 kB / 0.8818 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004801, allocations: 4.062 kB / 0.8818 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-06/0.004807, allocations: 7.688 kB / 0.8818 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.882e-05/0.004896, allocations: 4.688 kB / 0.8818 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001582/0.005054, allocations: 79.95 kB / 0.8819 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.948e-05/0.005084, allocations: 55.34 kB / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.081e-05/0.005094, allocations: 8 kB / 0.8819 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.005106, allocations: 8.5 kB / 0.8819 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.005106, allocations: 0 / 0.8819 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of Templates: time 0.002144/0.00725, allocations: 0.7276 MB / 0.8827 GB, free: 1.359 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.33465419895947]