Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001347/0.001347, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001458/0.001458, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.416/1.416, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 443.4 MB / 0.7321 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.88 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.841, allocations: 160.8 MB / 1.218 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00186/0.8429, allocations: 0.5912 MB / 1.219 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005444/0.8434, allocations: 209.3 kB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.277e-05/0.8434, allocations: 0 / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.8434, allocations: 0 / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.8434, allocations: 0 / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.8438, allocations: 50.38 kB / 1.219 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.124e-05/0.8439, allocations: 5.062 kB / 1.219 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.8439, allocations: 5.078 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.203e-05/0.8439, allocations: 5.031 kB / 1.219 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.139e-05/0.844, allocations: 7.984 kB / 1.219 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-06/0.844, allocations: 1.062 kB / 1.219 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.8441, allocations: 55.39 kB / 1.219 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-06/0.8441, allocations: 0 / 1.219 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.8442, allocations: 7.922 kB / 1.219 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.8443, allocations: 35.78 kB / 1.219 GB, free: 3.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8443, allocations: 0 / 1.219 GB, free: 3.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8443, allocations: 0 / 1.219 GB, free: 3.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.8443, allocations: 0.75 kB / 1.219 GB, free: 3.059 MB / 0.92 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.0004039/0.8447, allocations: 321 kB / 1.22 GB, free: 2.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.8447, allocations: 13.66 kB / 1.22 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.8448, allocations: 0.9375 kB / 1.22 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.8449, allocations: 164.4 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.8449, allocations: 1.594 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.8449, allocations: 384 / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.845, allocations: 28.08 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.845, allocations: 1.281 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.845, allocations: 3.938 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.845, allocations: 0 / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.8451, allocations: 9.094 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.8452, allocations: 150.9 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.915e-05/0.8453, allocations: 20.97 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.8453, allocations: 5.922 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008385/0.8461, allocations: 458.6 kB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.8462, allocations: 39.64 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.8462, allocations: 0 / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.8463, allocations: 41.91 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.8464, allocations: 52.47 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.8464, allocations: 89.86 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.8464, allocations: 25.7 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.8465, allocations: 85.39 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.8465, allocations: 3.938 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.8465, allocations: 15.88 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8467, allocations: 316 kB / 1.221 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-06/0.8467, allocations: 0 / 1.221 GB, free: 1.023 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.8467, allocations: 1.344 kB / 1.221 GB, free: 1.023 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/0.8467, allocations: 7.641 kB / 1.221 GB, free: 1.016 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8467, allocations: 64 / 1.221 GB, free: 1.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.777e-05/0.8468, allocations: 38.58 kB / 1.221 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.8468, allocations: 5.75 kB / 1.221 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8468, allocations: 0 / 1.221 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8468, allocations: 5.188 kB / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.07e-05/0.8469, allocations: 1 kB / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8469, allocations: 0.9375 kB / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-06/0.8469, allocations: 0 / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.8469, allocations: 4.922 kB / 1.221 GB, free: 0.9688 MB / 0.92 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 8.002e-05/0.847, allocations: 118.9 kB / 1.221 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.847, allocations: 1.062 kB / 1.221 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.54e-05/0.8471, allocations: 41.02 kB / 1.221 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8471, allocations: 0 / 1.221 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.8471, allocations: 0 / 1.221 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.8471, allocations: 1.094 kB / 1.221 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.8472, allocations: 150.5 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8472, allocations: 0 / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.8472, allocations: 2.344 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8472, allocations: 0 / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.8472, allocations: 12.75 kB / 1.222 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.8472, allocations: 3.984 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8472, allocations: 1.125 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.365e-05/0.8473, allocations: 58.45 kB / 1.222 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.8473, allocations: 77.89 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.8474, allocations: 4.969 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.8474, allocations: 0 / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.8474, allocations: 5.094 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.8474, allocations: 0 / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.8474, allocations: 88.25 kB / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.8474, allocations: 0 / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002071/0.8476, allocations: 18.8 kB / 1.222 GB, free: 336 kB / 0.92 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.0001938/0.8478, allocations: 118.3 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.8479, allocations: 3.75 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8479, allocations: 0 / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.8479, allocations: 6.359 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.848, allocations: 1.375 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.8482, allocations: 86.95 kB / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.8486, allocations: 0.669 MB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.093e-05/0.8486, allocations: 1.781 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.8486, allocations: 11.56 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.8486, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.003004/0.8516, allocations: 417 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.437680755741894]