Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 177 kB / 23.5 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.067/2.067, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.768e-05, allocations: 3.219 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002007/0.002035, allocations: 1.493 MB / 0.8796 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005157/0.00255, allocations: 246.6 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.002591, allocations: 0 / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.002621, allocations: 1.094 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.002662, allocations: 13.27 kB / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.003002, allocations: 59.8 kB / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.003069, allocations: 25.03 kB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.49e-05/0.003154, allocations: 3.984 kB / 0.88 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.003206, allocations: 15.92 kB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.003241, allocations: 13.11 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.003253, allocations: 0 / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.003374, allocations: 63.88 kB / 0.8801 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.003392, allocations: 0.9688 kB / 0.8801 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.003412, allocations: 7.984 kB / 0.8801 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.00355, allocations: 59.73 kB / 0.8801 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003553, allocations: 4.656 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.163e-06/0.003554, allocations: 3.656 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.003558, allocations: 0 / 0.8801 GB, free: 4.668 MB / 0.8386 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.0003667/0.003925, allocations: 360.6 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.003963, allocations: 16.02 kB / 0.8805 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.003998, allocations: 0.9375 kB / 0.8805 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.463e-05/0.004093, allocations: 120.6 kB / 0.8806 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.004105, allocations: 4.375 kB / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.004114, allocations: 384 / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.004233, allocations: 54.94 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.004241, allocations: 0.8438 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.00425, allocations: 384 / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.004258, allocations: 0.9688 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.004287, allocations: 15.86 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.004563, allocations: 244.5 kB / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.004613, allocations: 28.12 kB / 0.8809 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.004637, allocations: 15.75 kB / 0.881 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.00496, allocations: 77.88 kB / 0.881 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.004985, allocations: 42.92 kB / 0.8811 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.004986, allocations: 0 / 0.8811 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.005135, allocations: 45.56 kB / 0.8811 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.005162, allocations: 52.22 kB / 0.8812 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.005235, allocations: 157.9 kB / 0.8813 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.005244, allocations: 26.61 kB / 0.8813 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.005289, allocations: 134.9 kB / 0.8815 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.005311, allocations: 8.016 kB / 0.8815 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.005337, allocations: 27.38 kB / 0.8815 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.005452, allocations: 492.1 kB / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.005464, allocations: 0 / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.005475, allocations: 4 kB / 0.882 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.005506, allocations: 19.62 kB / 0.882 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.00551, allocations: 7.984 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.561e-05/0.005566, allocations: 33.7 kB / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005578, allocations: 4 kB / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005583, allocations: 7.875 kB / 0.882 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.005596, allocations: 8.094 kB / 0.8821 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.005658, allocations: 4 kB / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.005663, allocations: 3.984 kB / 0.8821 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.005681, allocations: 7.953 kB / 0.8821 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.005685, allocations: 0 / 0.8821 GB, free: 2.48 MB / 0.8386 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 6.231e-05/0.005747, allocations: 156.6 kB / 0.8822 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.005761, allocations: 4 kB / 0.8822 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.005843, allocations: 48.88 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005845, allocations: 0 / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.00585, allocations: 8.031 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005853, allocations: 0 / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.063e-05/0.005943, allocations: 112.6 kB / 0.8824 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005944, allocations: 0 / 0.8824 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.005968, allocations: 4 kB / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.00597, allocations: 0 / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.005976, allocations: 0 / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.005977, allocations: 3.938 kB / 0.8824 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.005978, allocations: 0 / 0.8824 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.006067, allocations: 191.9 kB / 0.8826 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.006072, allocations: 32 / 0.8826 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.00608, allocations: 4 kB / 0.8826 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.93e-05/0.006109, allocations: 11.92 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.006146, allocations: 4 kB / 0.8826 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.00615, allocations: 4 kB / 0.8826 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.006185, allocations: 123.4 kB / 0.8827 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006185, allocations: 0 / 0.8827 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001584/0.006344, allocations: 27.88 kB / 0.8827 GB, free: 1.719 MB / 0.8386 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.0001633/0.006507, allocations: 111.2 kB / 0.8829 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.95e-05/0.006586, allocations: 19.67 kB / 0.8829 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006588, allocations: 0 / 0.8829 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.678e-05/0.006604, allocations: 15.62 kB / 0.8829 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.00677, allocations: 4 kB / 0.8829 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.007015, allocations: 110.5 kB / 0.883 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.007049, allocations: 55.36 kB / 0.883 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.746e-05/0.007066, allocations: 11.92 kB / 0.8831 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.007087, allocations: 12.5 kB / 0.8831 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/0.007087, allocations: 0 / 0.8831 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of Templates: time 0.002644/0.009731, allocations: 0.6827 MB / 0.8837 GB, free: 0.6406 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.335363424150273]