Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001348/0.001348, allocations: 93.06 kB / 19.65 MB, free: 280 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.001558/0.001558, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9512/0.9512, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.021/2.021, allocations: 429.5 MB / 0.6733 GB, free: 4.066 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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.877e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002034/0.002063, allocations: 1.488 MB / 0.8796 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005609/0.002624, allocations: 329.5 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.002656, allocations: 5.844 kB / 0.88 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.002686, allocations: 3.938 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.002737, allocations: 8.797 kB / 0.88 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.003192, allocations: 103.6 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.003255, allocations: 21.17 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.003344, allocations: 8 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.003393, allocations: 11.98 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.163e-05/0.003424, allocations: 5.031 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003436, allocations: 4 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.003618, allocations: 119.8 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.003634, allocations: 4.594 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.003659, allocations: 7.984 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.003838, allocations: 104.4 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.003841, allocations: 0 / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003842, allocations: 3.75 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003846, allocations: 0 / 0.8803 GB, free: 4.117 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003584/0.004204, allocations: 372.5 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.004241, allocations: 12.03 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.004283, allocations: 0.9375 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.004371, allocations: 116.5 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.004382, allocations: 384 / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.004391, allocations: 384 / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.004517, allocations: 66.86 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.004523, allocations: 5.719 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.004532, allocations: 384 / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.004539, allocations: 4.375 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.004564, allocations: 3.938 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.004838, allocations: 247.8 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.048e-05/0.004888, allocations: 29.75 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.00491, allocations: 11.75 kB / 0.8812 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.00523, allocations: 81.7 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.005256, allocations: 37.39 kB / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.512e-06/0.005257, allocations: 0 / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.0054, allocations: 46.34 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.005426, allocations: 51.41 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.005498, allocations: 163.6 kB / 0.8815 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.00551, allocations: 29.7 kB / 0.8816 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.00555, allocations: 126.9 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.005571, allocations: 3.953 kB / 0.8817 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.005603, allocations: 24 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.005714, allocations: 492.1 kB / 0.8822 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.00573, allocations: 4.844 kB / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.005743, allocations: 11.98 kB / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.005775, allocations: 19.88 kB / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005777, allocations: 0 / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.526e-05/0.005832, allocations: 33.7 kB / 0.8823 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.005845, allocations: 8 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.005851, allocations: 3.938 kB / 0.8823 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.005863, allocations: 0 / 0.8823 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.005925, allocations: 7.984 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.00593, allocations: 0 / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.005946, allocations: 11.89 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.005952, allocations: 0 / 0.8823 GB, free: 1.93 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 (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.183e-05/0.006014, allocations: 156.6 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.006028, allocations: 8 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.332e-05/0.006111, allocations: 40.94 kB / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.006114, allocations: 4 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006118, allocations: 0 / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006121, allocations: 0 / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.044e-05/0.006211, allocations: 124.5 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006212, allocations: 0 / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.006235, allocations: 4 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.006238, allocations: 8.016 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006244, allocations: 0 / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.006247, allocations: 3.938 kB / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.006249, allocations: 4 kB / 0.8826 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.507e-05/0.006344, allocations: 183.9 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.00635, allocations: 0 / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.006361, allocations: 7.984 kB / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.006391, allocations: 3.938 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.006425, allocations: 0 / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.006428, allocations: 4 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.006468, allocations: 131.4 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.006468, allocations: 8 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001787/0.006647, allocations: 27.89 kB / 0.883 GB, free: 1.152 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 (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.0001916/0.006839, allocations: 139.1 kB / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.776e-05/0.006916, allocations: 23.62 kB / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006918, allocations: 0 / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.006934, allocations: 15.67 kB / 0.8831 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.007108, allocations: 8 kB / 0.8831 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.007353, allocations: 106.3 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.272e-05/0.007386, allocations: 55.36 kB / 0.8833 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.583e-05/0.007401, allocations: 4.125 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.007423, allocations: 8.5 kB / 0.8833 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.007424, allocations: 0 / 0.8833 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of Templates: time 0.002748/0.01017, allocations: 1.016 MB / 0.8843 GB, free: 15.72 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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.149390651844442]