Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007939/0.0007939, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008218/0.0008218, allocations: 170.3 kB / 22.46 MB, free: 2.102 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 0.8956/0.8956, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.739/1.739, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.521e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001696/0.001711, allocations: 1.455 MB / 0.9824 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.002115, allocations: 243.1 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.002141, allocations: 4 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.002167, allocations: 0 / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.92e-05/0.002206, allocations: 3.938 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.002555, allocations: 71.67 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.002614, allocations: 19.94 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.002702, allocations: 3.984 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.002746, allocations: 8 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.00278, allocations: 11.98 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.002792, allocations: 8 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.002905, allocations: 59.92 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.002918, allocations: 3.938 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.002936, allocations: 8 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.003076, allocations: 67.77 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.644e-06/0.003077, allocations: 0 / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.342e-06/0.003079, allocations: 0 / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003083, allocations: 0 / 0.9829 GB, free: 0.6211 MB / 0.9323 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.0003451/0.003428, allocations: 266.3 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.003467, allocations: 12.03 kB / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.003502, allocations: 38.75 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.003525, allocations: 8.828 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.801e-05/0.003603, allocations: 109.8 kB / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003613, allocations: 384 / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.003619, allocations: 384 / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.003739, allocations: 50.23 kB / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.003746, allocations: 192 / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.003755, allocations: 4.375 kB / 0.9833 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.003761, allocations: 4.125 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.003852, allocations: 39.89 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.004121, allocations: 212 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.772e-05/0.004199, allocations: 42.59 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.004243, allocations: 24.84 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000338/0.004581, allocations: 83.91 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.004602, allocations: 38.5 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.004603, allocations: 0 / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002098/0.004813, allocations: 77.58 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.00484, allocations: 59.41 kB / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.604e-05/0.004886, allocations: 93.86 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.004894, allocations: 29.83 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.004929, allocations: 92.08 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.004944, allocations: 3.953 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.004967, allocations: 13.72 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.005038, allocations: 314.8 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.005079, allocations: 15.98 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.005115, allocations: 19.97 kB / 0.9845 GB, free: 14.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.005193, allocations: 44.83 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005195, allocations: 0 / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.005299, allocations: 69.59 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005311, allocations: 4 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005316, allocations: 0 / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.005326, allocations: 0 / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.005382, allocations: 11.98 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.005386, allocations: 4.031 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.005411, allocations: 4 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.005415, allocations: 0 / 0.9846 GB, free: 14.67 MB / 0.948 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 4.747e-05/0.005463, allocations: 105.8 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.005477, allocations: 19.86 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.005601, allocations: 68.91 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005603, allocations: 0 / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.005608, allocations: 0 / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.005611, allocations: 8.031 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.653e-05/0.005707, allocations: 124.8 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005708, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.005731, allocations: 4 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.005736, allocations: 7.922 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.005745, allocations: 8 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.005745, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005746, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.005871, allocations: 171.4 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.005877, allocations: 4.125 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.005886, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.005921, allocations: 4 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.005953, allocations: 11.97 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.005955, allocations: 3.938 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.005979, allocations: 83.28 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005979, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001599/0.006139, allocations: 15.94 kB / 0.9852 GB, free: 13.97 MB / 0.948 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.0004618/0.006601, allocations: 0.7124 MB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.006729, allocations: 43.89 kB / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.00673, allocations: 0 / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.006768, allocations: 20.08 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.006936, allocations: 4 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.007226, allocations: 134.5 kB / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.902e-05/0.007265, allocations: 63.34 kB / 0.9861 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.468e-05/0.00728, allocations: 0 / 0.9861 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.007312, allocations: 8.5 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.007312, allocations: 0 / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.02092, allocations: 2.192 MB / 0.9883 GB, free: 10.83 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.85, allocations: 7.766 kB / 0.9883 GB, free: 10.83 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 11.006760841235518]