Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001025/0.001025, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004183, allocations: 12 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9105/0.9109, allocations: 153.7 MB / 1.021 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007169/0.9117, allocations: 313.4 kB / 1.021 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.9121, allocations: 183.5 kB / 1.021 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.07e-05/0.9121, allocations: 0 / 1.021 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.9121, allocations: 0 / 1.021 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.9121, allocations: 0 / 1.021 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.9124, allocations: 35.89 kB / 1.021 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.533e-05/0.9125, allocations: 3.938 kB / 1.021 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.9125, allocations: 7.938 kB / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.9125, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.816e-05/0.9126, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.705e-06/0.9126, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.9127, allocations: 63.94 kB / 1.021 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.3e-06/0.9128, allocations: 0 / 1.021 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.9128, allocations: 25.7 kB / 1.021 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.297e-05/0.9129, allocations: 15.97 kB / 1.021 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.9129, allocations: 0 / 1.021 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9129, allocations: 0 / 1.021 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.913, allocations: 4 kB / 1.021 GB, free: 0.6445 MB / 0.7637 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.0002676/0.9132, allocations: 315.4 kB / 1.022 GB, free: 296 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.9133, allocations: 11.98 kB / 1.022 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.9133, allocations: 4 kB / 1.022 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.9134, allocations: 171 kB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.9134, allocations: 3.938 kB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.9134, allocations: 0 / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.9136, allocations: 37.64 kB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.9136, allocations: 0 / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.9136, allocations: 0 / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9136, allocations: 0 / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.9136, allocations: 0 / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.9138, allocations: 145.7 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.9138, allocations: 26.52 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007485/0.9146, allocations: 453.5 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/0.9147, allocations: 30.56 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.9147, allocations: 4 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.9148, allocations: 41.64 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.9149, allocations: 55.41 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.307e-05/0.9149, allocations: 93.84 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.9149, allocations: 25.7 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.915, allocations: 84.08 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.915, allocations: 3.906 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.915, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.9152, allocations: 311 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.9152, allocations: 4 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.9152, allocations: 4 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.573e-05/0.9152, allocations: 0 / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9153, allocations: 0 / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001326/0.9154, allocations: 33.7 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9154, allocations: 8 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.9154, allocations: 3.984 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.9154, allocations: 7.891 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.886e-05/0.9155, allocations: 96 / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.9155, allocations: 4 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.9155, allocations: 4 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.9155, allocations: 0 / 1.023 GB, free: 14.49 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.9156, allocations: 109.8 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-06/0.9156, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.9157, allocations: 40.81 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.9157, allocations: 0 / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9157, allocations: 7.891 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.9157, allocations: 8.031 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.9158, allocations: 141.7 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.9158, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.9159, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.9159, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.9159, allocations: 4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.9159, allocations: 3.984 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.9159, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.916, allocations: 65.03 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.916, allocations: 77.11 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.9161, allocations: 4 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.9161, allocations: 4 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.9161, allocations: 3.984 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.9161, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.9161, allocations: 79.23 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9161, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002192/0.9164, allocations: 16 kB / 1.024 GB, free: 13.84 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002955/0.9167, allocations: 115.3 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.861e-05/0.9167, allocations: 7.984 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9167, allocations: 0 / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-06/0.9167, allocations: 7.938 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.113e-05/0.9168, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001647/0.917, allocations: 77 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.9173, allocations: 0.677 MB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.051e-05/0.9173, allocations: 3.938 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.9173, allocations: 7.438 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9173, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.002459/0.9198, allocations: 399.8 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches