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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_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.001143/0.001143, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001259/0.001259, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.734/2.734, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 8 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8943, allocations: 153.8 MB / 1.022 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001893/0.8963, allocations: 1.157 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.8969, allocations: 236.3 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.897, allocations: 7.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.897, allocations: 3.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.8971, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.8975, allocations: 43.91 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.8975, allocations: 19.92 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.8976, allocations: 7.984 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.8977, allocations: 3.984 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.8978, allocations: 15.94 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.8978, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.898, allocations: 67.88 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.898, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.898, allocations: 25.7 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.8981, allocations: 39.92 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.8982, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8982, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.8982, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 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.0006137/0.8988, allocations: 357.3 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.8989, allocations: 8.562 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.8989, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.8991, allocations: 163 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.8991, allocations: 0 / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.8991, allocations: 0 / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.8994, allocations: 65.62 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8994, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.8994, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.8994, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.8997, allocations: 43.95 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.9003, allocations: 256.7 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.9004, allocations: 46.53 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.9005, allocations: 32.91 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007646/0.9013, allocations: 453.5 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.9014, allocations: 38.56 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.756e-06/0.9014, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.9017, allocations: 105.5 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.9018, allocations: 51.41 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.9019, allocations: 106 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.9019, allocations: 29.7 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.902, allocations: 80.14 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.902, allocations: 7.906 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.902, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9021, allocations: 310.8 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.9022, allocations: 23.98 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.9023, allocations: 23.97 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.9024, allocations: 23.98 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9024, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.9026, allocations: 81.67 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9026, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9026, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.9026, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.9027, allocations: 11.94 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9027, allocations: 4.031 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.9028, allocations: 7.984 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.9028, allocations: 4 kB / 1.026 GB, free: 11.76 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.9029, allocations: 105.8 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.9029, allocations: 3.953 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.9031, allocations: 88.95 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.9031, allocations: 7.984 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9031, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.9032, allocations: 4 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.9033, allocations: 157.6 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.9034, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.9034, allocations: 11.98 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9034, allocations: 11.92 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.9034, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9035, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.9035, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.9037, allocations: 175.5 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.9038, allocations: 77.11 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.9038, allocations: 3.953 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.9039, allocations: 15.92 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.9039, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.904, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.904, allocations: 87.27 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.904, allocations: 4.031 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002415/0.9043, allocations: 12 kB / 1.027 GB, free: 10.91 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002536/0.9045, allocations: 131.1 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.9047, allocations: 47.91 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9048, allocations: 0 / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.9048, allocations: 23.98 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.9051, allocations: 5.562 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.9054, allocations: 104.8 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.9057, allocations: 0.6809 MB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.9057, allocations: 0 / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.9057, allocations: 7.438 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.9058, allocations: 0 / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of Templates: time 0.00303/0.9088, allocations: 0.5757 MB / 1.028 GB, free: 9.277 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) 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) Reference file matches