Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.00152/0.00152, allocations: 109.5 kB / 17.08 MB, free: 6.012 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.001569/0.001569, allocations: 192.7 kB / 20.03 MB, free: 3.082 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.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 489.2 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 177] 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00166/1.025, allocations: 0.595 MB / 1.263 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005064/1.025, allocations: 193.2 kB / 1.263 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/1.026, allocations: 4.688 kB / 1.263 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/1.026, allocations: 0 / 1.263 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/1.026, allocations: 0 / 1.263 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/1.026, allocations: 57.94 kB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.1e-05/1.026, allocations: 2.141 kB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/1.026, allocations: 1.328 kB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/1.026, allocations: 0.8438 kB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.144e-05/1.026, allocations: 4.172 kB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.542e-06/1.026, allocations: 0 / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/1.026, allocations: 66.22 kB / 1.264 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/1.026, allocations: 3.984 kB / 1.264 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/1.026, allocations: 0.75 kB / 1.264 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/1.026, allocations: 34.48 kB / 1.264 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.027, allocations: 0.75 kB / 1.264 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/1.027, allocations: 0.6875 kB / 1.264 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.027, allocations: 0 / 1.264 GB, free: 7.453 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000256/1.027, allocations: 325.8 kB / 1.264 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.027, allocations: 9.812 kB / 1.264 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/1.027, allocations: 0.9375 kB / 1.264 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.687e-05/1.027, allocations: 166.5 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/1.027, allocations: 4.312 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/1.027, allocations: 1.281 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.849e-05/1.027, allocations: 29.53 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.027, allocations: 192 / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.027, allocations: 4.719 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.027, allocations: 0 / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/1.027, allocations: 5.531 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/1.027, allocations: 152.3 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.292e-05/1.027, allocations: 21.89 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/1.027, allocations: 5.797 kB / 1.264 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/1.028, allocations: 458.8 kB / 1.265 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/1.028, allocations: 35.41 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.028, allocations: 0 / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001258/1.028, allocations: 39.59 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/1.028, allocations: 52.09 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.198e-05/1.028, allocations: 91.23 kB / 1.265 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-06/1.028, allocations: 25.7 kB / 1.265 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.18e-05/1.028, allocations: 80.89 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/1.028, allocations: 8.734 kB / 1.265 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/1.028, allocations: 16.25 kB / 1.265 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.424e-05/1.028, allocations: 312.2 kB / 1.265 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/1.028, allocations: 1.312 kB / 1.265 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-06/1.028, allocations: 4.906 kB / 1.265 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/1.028, allocations: 8.031 kB / 1.265 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.028, allocations: 0.9062 kB / 1.265 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.442e-05/1.028, allocations: 40.02 kB / 1.265 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.028, allocations: 9.844 kB / 1.265 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.028, allocations: 0 / 1.265 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.028, allocations: 8.672 kB / 1.265 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/1.028, allocations: 2.281 kB / 1.265 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.028, allocations: 0 / 1.265 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/1.029, allocations: 1.547 kB / 1.265 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/1.029, allocations: 0.8125 kB / 1.265 GB, free: 5.395 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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.167e-05/1.029, allocations: 107.2 kB / 1.265 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/1.029, allocations: 1.484 kB / 1.265 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/1.029, allocations: 51.03 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/1.029, allocations: 3.938 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.029, allocations: 0.8438 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.029, allocations: 0.7969 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.672e-05/1.029, allocations: 152.5 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.029, allocations: 0.5625 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/1.029, allocations: 1.75 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.029, allocations: 1.438 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/1.029, allocations: 3.938 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.029, allocations: 1.375 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.029, allocations: 4.031 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.001e-05/1.029, allocations: 57.05 kB / 1.266 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/1.029, allocations: 78.64 kB / 1.266 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/1.029, allocations: 5.344 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/1.029, allocations: 0.5156 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/1.029, allocations: 4.844 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/1.029, allocations: 1.516 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.375e-05/1.029, allocations: 79.31 kB / 1.266 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.029, allocations: 0 / 1.266 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003112/1.029, allocations: 11.52 kB / 1.266 GB, free: 4.781 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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.0002082/1.029, allocations: 116.6 kB / 1.266 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/1.03, allocations: 8.516 kB / 1.266 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.03, allocations: 0 / 1.266 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.715e-06/1.03, allocations: 3 kB / 1.266 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/1.03, allocations: 5.438 kB / 1.266 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/1.03, allocations: 101.9 kB / 1.266 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.744e-05/1.03, allocations: 0.6748 MB / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/1.03, allocations: 8.094 kB / 1.267 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.03, allocations: 4.688 kB / 1.267 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of Templates: time 0.002364/1.032, allocations: 0.5556 MB / 1.267 GB, free: 3.816 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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: 11.000759280053899]