Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_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.001519/0.001519, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001708/0.001708, allocations: 188.5 kB / 16.25 MB, free: 6.637 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7985, allocations: 140.4 MB / 0.9491 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002723/0.8013, allocations: 1.491 MB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005184/0.8018, allocations: 248.7 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.8019, allocations: 0 / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.8019, allocations: 3.938 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.802, allocations: 9.344 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.8024, allocations: 46.34 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.8025, allocations: 24.7 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.8026, allocations: 3.594 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.178e-05/0.8026, allocations: 15.14 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.8027, allocations: 10.58 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.8027, allocations: 6.625 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.8029, allocations: 66.25 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.8029, allocations: 4.844 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.8029, allocations: 10.28 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.8031, allocations: 55.81 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8031, allocations: 1.344 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8031, allocations: 0 / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.8031, allocations: 0 / 0.951 GB, free: 7.559 MB / 0.7169 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.0004314/0.8035, allocations: 354 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.8036, allocations: 9.344 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.8036, allocations: 6 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.36e-05/0.8037, allocations: 169.7 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.8038, allocations: 1.562 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.8038, allocations: 1.719 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.8039, allocations: 44.69 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.804, allocations: 1.469 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.804, allocations: 11.86 kB / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.804, allocations: 0 / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.8042, allocations: 39 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.8045, allocations: 253.7 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.8046, allocations: 37.94 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.8047, allocations: 27.56 kB / 0.9519 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.8053, allocations: 454 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.8054, allocations: 31.53 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8054, allocations: 0 / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003407/0.8057, allocations: 89.05 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.8058, allocations: 51.41 kB / 0.9525 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.8058, allocations: 102.8 kB / 0.9526 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.8058, allocations: 27.39 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.8059, allocations: 80.14 kB / 0.9527 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.8059, allocations: 9.594 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.8059, allocations: 15.44 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.806, allocations: 312.5 kB / 0.9531 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.8061, allocations: 20.66 kB / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.8062, allocations: 13.86 kB / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.8063, allocations: 38.95 kB / 0.9531 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8063, allocations: 0 / 0.9531 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.8065, allocations: 77.66 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8065, allocations: 5.75 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8065, allocations: 0 / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8065, allocations: 1.344 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.8066, allocations: 9.266 kB / 0.9532 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.8066, allocations: 5.297 kB / 0.9532 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.8067, allocations: 15.67 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.8067, allocations: 192 / 0.9532 GB, free: 5.227 MB / 0.7169 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 4.47e-05/0.8068, allocations: 112.1 kB / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.8068, allocations: 5.156 kB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.807, allocations: 78.11 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.807, allocations: 1.469 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.807, allocations: 4.031 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.807, allocations: 0 / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.8072, allocations: 165.8 kB / 0.9536 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8072, allocations: 3.938 kB / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.8072, allocations: 6.969 kB / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.8072, allocations: 0 / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.8072, allocations: 1.375 kB / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8072, allocations: 3.984 kB / 0.9536 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8072, allocations: 0 / 0.9536 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.8074, allocations: 162.8 kB / 0.9538 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.8075, allocations: 82.19 kB / 0.9538 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.8075, allocations: 5.062 kB / 0.9538 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.8076, allocations: 4.281 kB / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.8076, allocations: 8.891 kB / 0.9539 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.8076, allocations: 0 / 0.9539 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.193e-05/0.8076, allocations: 87.03 kB / 0.9539 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8076, allocations: 0 / 0.9539 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002383/0.8079, allocations: 14.66 kB / 0.954 GB, free: 4.48 MB / 0.7169 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.0001965/0.8081, allocations: 114.9 kB / 0.9541 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.8083, allocations: 41.45 kB / 0.9541 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8083, allocations: 0 / 0.9541 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.8084, allocations: 20.42 kB / 0.9541 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.8086, allocations: 5.25 kB / 0.9541 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.8089, allocations: 109 kB / 0.9542 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.809, allocations: 0.6845 MB / 0.9549 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.8091, allocations: 1.219 kB / 0.9549 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.8091, allocations: 8.656 kB / 0.9549 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.8091, allocations: 0 / 0.9549 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of Templates: time 0.00286/0.812, allocations: 0.6024 MB / 0.9555 GB, free: 3.215 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches