Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 189.9 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8166/0.8186, allocations: 160.8 MB / 1.218 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002953/0.8215, allocations: 1.451 MB / 1.22 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005709/0.8221, allocations: 258.8 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.8221, allocations: 1.094 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.8221, allocations: 3.984 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.8222, allocations: 5.719 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.8225, allocations: 61.48 kB / 1.22 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.712e-05/0.8226, allocations: 24.92 kB / 1.22 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.491e-05/0.8227, allocations: 6.656 kB / 1.22 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.8227, allocations: 11.86 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.8228, allocations: 14.45 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.8228, allocations: 2.688 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.8229, allocations: 64.06 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.823, allocations: 4 kB / 1.22 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.823, allocations: 10.56 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.8231, allocations: 54.92 kB / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8231, allocations: 0 / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8231, allocations: 5.375 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8232, allocations: 0 / 1.22 GB, free: 2.203 MB / 0.92 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.0005176/0.8237, allocations: 347.2 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.8237, allocations: 9.344 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.8237, allocations: 2 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.8239, allocations: 169.4 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.8239, allocations: 1.594 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.8239, allocations: 1.594 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.8241, allocations: 57.73 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8241, allocations: 192 / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.8241, allocations: 3.938 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8241, allocations: 1.094 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.8242, allocations: 34.23 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.8246, allocations: 245.4 kB / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.8247, allocations: 42.42 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.8248, allocations: 22.03 kB / 1.221 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007392/0.8255, allocations: 466.2 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.8256, allocations: 31.66 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8256, allocations: 1.031 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003667/0.8259, allocations: 80.08 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.826, allocations: 52.66 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.8261, allocations: 98.52 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.8261, allocations: 25.7 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.8261, allocations: 89.25 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.8262, allocations: 12.94 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.8262, allocations: 11.94 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8264, allocations: 316 kB / 1.222 GB, free: 16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.8264, allocations: 17.39 kB / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.8265, allocations: 25.09 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.8267, allocations: 35.92 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.8267, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001939/0.8269, allocations: 72.36 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8269, allocations: 5.188 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8269, allocations: 8.031 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8269, allocations: 9.062 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.827, allocations: 9.484 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.827, allocations: 4.953 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.827, allocations: 3.281 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.827, allocations: 1.031 kB / 1.223 GB, free: 15.88 MB / 0.9356 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 8.485e-05/0.8271, allocations: 123.8 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.8271, allocations: 0.9688 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.8274, allocations: 74.89 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8274, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8274, allocations: 1.062 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8274, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.8276, allocations: 157.8 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8276, allocations: 0.9688 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.8277, allocations: 9.328 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8277, allocations: 0.9375 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.8277, allocations: 4.031 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8277, allocations: 1.062 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8277, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.8279, allocations: 167.2 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.828, allocations: 82.38 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.828, allocations: 0.7812 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.8281, allocations: 11.23 kB / 1.223 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.8281, allocations: 5.047 kB / 1.223 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.8281, allocations: 1.156 kB / 1.223 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.8281, allocations: 86.33 kB / 1.223 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8281, allocations: 0 / 1.223 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002441/0.8284, allocations: 14.12 kB / 1.223 GB, free: 15.14 MB / 0.9356 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.0002099/0.8286, allocations: 121.4 kB / 1.223 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.8288, allocations: 37.47 kB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8288, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.8289, allocations: 22.62 kB / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.8291, allocations: 6.031 kB / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.8294, allocations: 105.3 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.8298, allocations: 0.673 MB / 1.224 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.8298, allocations: 5.062 kB / 1.224 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.8298, allocations: 8.344 kB / 1.224 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8298, allocations: 1.188 kB / 1.224 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.003467/0.8333, allocations: 0.6705 MB / 1.225 GB, free: 13.84 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.516286526806653]