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.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.001058/0.001058, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001227/0.001227, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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 0.9883/0.9883, allocations: 177.1 MB / 204.5 MB, free: 5.316 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.08/2.08, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.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 2.324e-06/2.324e-06, allocations: 5.094 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.611e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001085/0.001101, allocations: 0.6071 MB / 0.88 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004838/0.001585, allocations: 183.8 kB / 0.8802 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.408e-05/0.001599, allocations: 0 / 0.8802 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.001613, allocations: 1.031 kB / 0.8802 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.001618, allocations: 0 / 0.8802 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.001934, allocations: 57.53 kB / 0.8803 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.495e-05/0.001969, allocations: 4 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.002003, allocations: 0.7188 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.002025, allocations: 3.984 kB / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.002045, allocations: 4.094 kB / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.002053, allocations: 0 / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.002193, allocations: 57.03 kB / 0.8803 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.002204, allocations: 0 / 0.8803 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.396e-06/0.002213, allocations: 7.875 kB / 0.8803 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.492e-05/0.002308, allocations: 47.91 kB / 0.8804 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.002309, allocations: 0 / 0.8804 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00231, allocations: 0 / 0.8804 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002314, allocations: 0 / 0.8804 GB, free: 5.051 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002195/0.002533, allocations: 352.9 kB / 0.8807 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.002562, allocations: 8.031 kB / 0.8807 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.002584, allocations: 2.031 kB / 0.8807 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.558e-05/0.00264, allocations: 108.6 kB / 0.8808 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.002649, allocations: 384 / 0.8808 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-06/0.002654, allocations: 0.9375 kB / 0.8808 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.478e-05/0.002708, allocations: 31.78 kB / 0.8809 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.002716, allocations: 4.172 kB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-06/0.002721, allocations: 8.312 kB / 0.8809 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.002726, allocations: 384 / 0.8809 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-06/0.002735, allocations: 7.938 kB / 0.8809 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.061e-05/0.002806, allocations: 89.27 kB / 0.881 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.267e-05/0.002838, allocations: 31.09 kB / 0.881 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.104e-05/0.002849, allocations: 7.688 kB / 0.881 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.00316, allocations: 71.98 kB / 0.8811 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.003179, allocations: 41.39 kB / 0.8811 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.00318, allocations: 4 kB / 0.8811 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.52e-05/0.003265, allocations: 37.62 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.003289, allocations: 51.41 kB / 0.8812 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.271e-05/0.003322, allocations: 142.2 kB / 0.8813 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.00333, allocations: 25.7 kB / 0.8814 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.003355, allocations: 130.9 kB / 0.8815 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.003378, allocations: 4.297 kB / 0.8815 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.003398, allocations: 19.38 kB / 0.8815 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.003505, allocations: 496.1 kB / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-06/0.00351, allocations: 4.125 kB / 0.882 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.003516, allocations: 7.938 kB / 0.882 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.003537, allocations: 15.61 kB / 0.882 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003538, allocations: 0 / 0.882 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.662e-05/0.003575, allocations: 33.7 kB / 0.882 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.003587, allocations: 8 kB / 0.882 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.003591, allocations: 0 / 0.882 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.003598, allocations: 0 / 0.882 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.38e-05/0.003622, allocations: 0 / 0.882 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-06/0.003624, allocations: 0 / 0.882 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-06/0.003631, allocations: 8.094 kB / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.003635, allocations: 0 / 0.8821 GB, free: 3.145 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 (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 5.201e-05/0.003687, allocations: 156.5 kB / 0.8822 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.003691, allocations: 0 / 0.8822 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.003736, allocations: 44.62 kB / 0.8822 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.003737, allocations: 0 / 0.8822 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.003739, allocations: 4 kB / 0.8822 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.003741, allocations: 0 / 0.8822 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.725e-05/0.003788, allocations: 93.2 kB / 0.8823 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.003788, allocations: 0 / 0.8823 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-06/0.003795, allocations: 12.02 kB / 0.8824 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.003796, allocations: 0 / 0.8824 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.0038, allocations: 4 kB / 0.8824 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.003801, allocations: 0 / 0.8824 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.003802, allocations: 0 / 0.8824 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.493e-05/0.003847, allocations: 72.33 kB / 0.8824 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-06/0.00385, allocations: 0 / 0.8824 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-06/0.003856, allocations: 3.984 kB / 0.8824 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-06/0.00386, allocations: 0 / 0.8824 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.003868, allocations: 0 / 0.8824 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.003871, allocations: 8.031 kB / 0.8824 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.003896, allocations: 119.2 kB / 0.8825 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.003897, allocations: 0 / 0.8825 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001339/0.00403, allocations: 15.94 kB / 0.8826 GB, free: 2.555 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 (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.000122/0.004152, allocations: 115.2 kB / 0.8827 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.045e-05/0.004203, allocations: 15.69 kB / 0.8827 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.004204, allocations: 3.938 kB / 0.8827 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-06/0.004211, allocations: 11.69 kB / 0.8827 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.527e-05/0.004296, allocations: 11.88 kB / 0.8827 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001294/0.004426, allocations: 83.97 kB / 0.8828 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.55e-05/0.004451, allocations: 55.34 kB / 0.8828 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.095e-06/0.004459, allocations: 0 / 0.8828 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.004484, allocations: 70.2 kB / 0.8829 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.004485, allocations: 0 / 0.8829 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of Templates: time 0.001715/0.0062, allocations: 490.8 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_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.140451923944056]