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) 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 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001967/0.001967, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.586/1.586, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 72.95 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9645/0.9665, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001923/0.9684, allocations: 0.586 MB / 1.083 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004584/0.9689, allocations: 193.9 kB / 1.084 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.237e-05/0.9689, allocations: 0.9375 kB / 1.084 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.969, allocations: 0 / 1.084 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.969, allocations: 0 / 1.084 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.9694, allocations: 56.44 kB / 1.084 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.815e-05/0.9694, allocations: 2.703 kB / 1.084 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.9695, allocations: 5.812 kB / 1.084 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.399e-05/0.9695, allocations: 0 / 1.084 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.9695, allocations: 8.938 kB / 1.084 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.9695, allocations: 0 / 1.084 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.9697, allocations: 62.5 kB / 1.084 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.9697, allocations: 0 / 1.084 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.9698, allocations: 0.6875 kB / 1.084 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.9699, allocations: 37.09 kB / 1.084 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9699, allocations: 0 / 1.084 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9699, allocations: 0 / 1.084 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.9699, allocations: 0 / 1.084 GB, free: 1.086 MB / 0.8262 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.0002292/0.9702, allocations: 324 kB / 1.084 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.9702, allocations: 10.03 kB / 1.084 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.9702, allocations: 0.9375 kB / 1.084 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.661e-05/0.9703, allocations: 166.1 kB / 1.084 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.9703, allocations: 5.719 kB / 1.084 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.9703, allocations: 1 kB / 1.084 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/0.9704, allocations: 29.05 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9704, allocations: 192 / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.9704, allocations: 7.875 kB / 1.084 GB, free: 496 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9704, allocations: 5.172 kB / 1.084 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.9705, allocations: 5.297 kB / 1.084 GB, free: 488 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.238e-05/0.9706, allocations: 145.5 kB / 1.085 GB, free: 296 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.851e-05/0.9706, allocations: 23.67 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.168e-05/0.9706, allocations: 10.83 kB / 1.085 GB, free: 252 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007235/0.9713, allocations: 458 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.9714, allocations: 31.84 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.9714, allocations: 4.562 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001022/0.9715, allocations: 39.83 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.9715, allocations: 52.28 kB / 1.085 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.9716, allocations: 94.73 kB / 1.085 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.9716, allocations: 25.7 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.9717, allocations: 80.98 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.9717, allocations: 1.125 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.9717, allocations: 11.77 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9719, allocations: 319.6 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.9719, allocations: 0.9375 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.9719, allocations: 2.469 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.972, allocations: 10.92 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.972, allocations: 1.281 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.82e-05/0.972, allocations: 36.11 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.972, allocations: 4.969 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.9721, allocations: 0.625 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9721, allocations: 5 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.581e-05/0.9721, allocations: 2.453 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9721, allocations: 0 / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/0.9721, allocations: 4.594 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.9722, allocations: 5.156 kB / 1.086 GB, free: 15.02 MB / 0.8419 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 7.623e-05/0.9722, allocations: 107.3 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.9722, allocations: 4.594 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.9723, allocations: 39.45 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.9723, allocations: 1.156 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9724, allocations: 0.6562 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9724, allocations: 0 / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.9725, allocations: 144.8 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9725, allocations: 0.75 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.9725, allocations: 6.031 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.9725, allocations: 4.531 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.9725, allocations: 5.344 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9725, allocations: 0 / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9725, allocations: 4.641 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/0.9726, allocations: 65.36 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.9727, allocations: 78.41 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.9727, allocations: 12.44 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.9727, allocations: 1.688 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.9727, allocations: 0 / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.9727, allocations: 1.344 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.9728, allocations: 76.72 kB / 1.086 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.9728, allocations: 0 / 1.086 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000211/0.973, allocations: 11.69 kB / 1.086 GB, free: 14.41 MB / 0.8419 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.0002591/0.9733, allocations: 124.5 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.065e-05/0.9734, allocations: 7.906 kB / 1.086 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9734, allocations: 0 / 1.086 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.715e-06/0.9734, allocations: 3.281 kB / 1.086 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.9735, allocations: 0.8438 kB / 1.086 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.9737, allocations: 110.3 kB / 1.086 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.9742, allocations: 0.6751 MB / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.9742, allocations: 11.44 kB / 1.087 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.9742, allocations: 1.531 kB / 1.087 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.002311/0.9765, allocations: 0.5511 MB / 1.088 GB, free: 13.44 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches