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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001583/0.001583, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001811/0.001811, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9254/0.9269, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002804/0.9297, allocations: 1.447 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005934/0.9304, allocations: 259.2 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.9304, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.9305, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.9306, allocations: 3.938 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.931, allocations: 67.75 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.9311, allocations: 12 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.9312, allocations: 15.97 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.9312, allocations: 8 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.9313, allocations: 15.86 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.9313, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.9315, allocations: 55.95 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.9315, allocations: 3.984 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.9315, allocations: 11.94 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.9317, allocations: 55.86 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.9317, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9317, allocations: 3.938 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.9317, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 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.000471/0.9322, allocations: 355.2 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.9323, allocations: 8.031 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.9323, allocations: 4.938 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.9324, allocations: 160.4 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.9324, allocations: 384 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.9325, allocations: 4.375 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.9326, allocations: 46.23 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9327, allocations: 4.188 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.9327, allocations: 7.938 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.9327, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.9329, allocations: 31.95 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.9332, allocations: 244.9 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.9333, allocations: 38.56 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.9334, allocations: 36.77 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/0.9342, allocations: 461.4 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.9342, allocations: 34.56 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9342, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003791/0.9346, allocations: 85.48 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.9346, allocations: 51.41 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.9347, allocations: 101.9 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.9347, allocations: 25.7 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.9348, allocations: 80.14 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.9348, allocations: 8.031 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.9348, allocations: 21.7 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.935, allocations: 310.8 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.935, allocations: 15.98 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.9351, allocations: 15.98 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.9353, allocations: 40.88 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9353, allocations: 7.938 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002005/0.9355, allocations: 69.53 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.9355, allocations: 8 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9355, allocations: 0 / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.9355, allocations: 0 / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.9356, allocations: 8 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9356, allocations: 4.031 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.9357, allocations: 7.984 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.9357, allocations: 4 kB / 1.213 GB, free: 9.113 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 7.047e-05/0.9358, allocations: 109.8 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.9358, allocations: 0 / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.9361, allocations: 84.7 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.9361, allocations: 4.031 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9361, allocations: 0 / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.9361, allocations: 0 / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.9362, allocations: 157.6 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.9363, allocations: 0 / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.9363, allocations: 11.98 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9363, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.9363, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9363, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9364, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.9366, allocations: 171.4 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.9367, allocations: 82.88 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.9367, allocations: 4 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.9368, allocations: 3.984 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.9368, allocations: 4 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.9368, allocations: 3.938 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.9369, allocations: 87.3 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9369, allocations: 0 / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002426/0.9371, allocations: 16 kB / 1.213 GB, free: 8.289 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.0002183/0.9373, allocations: 111.2 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.9376, allocations: 43.95 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9376, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.9377, allocations: 15.98 kB / 1.213 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.9379, allocations: 11.88 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.9382, allocations: 127.1 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.9385, allocations: 0.6769 MB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.9385, allocations: 11.44 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.9386, allocations: 0 / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of Templates: time 0.002587/0.9411, allocations: 0.7786 MB / 1.215 GB, free: 6.445 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches