Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001554/0.001554, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 472.6 MB / 0.7447 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 64.61 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4139, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002802/0.4167, allocations: 1.489 MB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005584/0.4173, allocations: 267.2 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.4173, allocations: 4 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.4174, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.4174, allocations: 7.922 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.4178, allocations: 43.97 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.4178, allocations: 19.92 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.892e-05/0.4179, allocations: 4 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.418, allocations: 7.984 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.53e-05/0.418, allocations: 11.92 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.418, allocations: 4 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.4182, allocations: 67.88 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.4182, allocations: 4 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.4182, allocations: 11.92 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.4184, allocations: 59.8 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4184, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4184, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.4184, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 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.0004502/0.4189, allocations: 343.7 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4189, allocations: 16.03 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.4189, allocations: 0.9375 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.4191, allocations: 164.4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4191, allocations: 384 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.4191, allocations: 4.375 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4193, allocations: 50.23 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4193, allocations: 192 / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4193, allocations: 3.938 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4193, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.4195, allocations: 39.91 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.4198, allocations: 245 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.4199, allocations: 38.5 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.42, allocations: 24.91 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007074/0.4208, allocations: 453.5 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.4208, allocations: 42.5 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4208, allocations: 0 / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003475/0.4212, allocations: 85.48 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.4212, allocations: 55.41 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.4213, allocations: 105.8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.4213, allocations: 25.7 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.4213, allocations: 84.08 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.4214, allocations: 11.91 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.4214, allocations: 13.84 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4215, allocations: 314.8 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.4216, allocations: 19.98 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.4217, allocations: 11.98 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.4218, allocations: 44.83 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4218, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.422, allocations: 73.59 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4221, allocations: 8 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.4221, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.4221, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.4222, allocations: 7.984 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4222, allocations: 4 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.4222, allocations: 8.016 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.4223, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 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 7.721e-05/0.4223, allocations: 109.8 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.4224, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.4226, allocations: 76.72 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4226, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4226, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4226, allocations: 4.031 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.4228, allocations: 161.6 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4228, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.4229, allocations: 11.98 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4229, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.4229, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4229, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4229, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.4231, allocations: 175.3 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.4232, allocations: 81.05 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.4232, allocations: 4 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.4233, allocations: 7.984 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.4233, allocations: 0 / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.4233, allocations: 0 / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.4234, allocations: 83.28 kB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4234, allocations: 7.969 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002437/0.4236, allocations: 16 kB / 1.072 GB, free: 5.398 MB / 0.8262 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.0001913/0.4238, allocations: 123.2 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.4241, allocations: 39.95 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.4241, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.4242, allocations: 23.92 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.4244, allocations: 5.625 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.4247, allocations: 103.3 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.4249, allocations: 0.677 MB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.026e-05/0.425, allocations: 4.125 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.425, allocations: 11.44 kB / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.425, allocations: 0 / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of Templates: time 0.002689/0.4277, allocations: 0.5883 MB / 1.074 GB, free: 3.766 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches