Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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.002129/0.002129, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 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.002472/0.002472, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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.635/1.635, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.069/3.069, allocations: 0.49 GB / 0.7923 GB, free: 1.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 79.88 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9426/0.9447, allocations: 176.1 MB / 1.321 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002311/0.9471, allocations: 1.447 MB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004793/0.9475, allocations: 255.4 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.9476, allocations: 0 / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.9476, allocations: 3.375 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.9476, allocations: 3.938 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.948, allocations: 55.8 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.022e-05/0.9481, allocations: 25.55 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.9482, allocations: 5.719 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.9482, allocations: 10.62 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.9482, allocations: 14.31 kB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.9482, allocations: 3.156 kB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.9484, allocations: 62.02 kB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.9484, allocations: 4 kB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.9484, allocations: 10.66 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.9486, allocations: 55.84 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9486, allocations: 0 / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9486, allocations: 0 / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.9486, allocations: 0 / 1.323 GB, free: 23.3 MB / 1.061 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.0003784/0.949, allocations: 350.5 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.949, allocations: 12.2 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.237e-05/0.949, allocations: 2.812 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.685e-05/0.949, allocations: 30.75 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.949, allocations: 0.9375 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.9491, allocations: 167.2 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.9491, allocations: 4.375 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.9491, allocations: 3.156 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.9493, allocations: 62.73 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9493, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.9493, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9493, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.9495, allocations: 33.45 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.9497, allocations: 246.8 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.9499, allocations: 43.55 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.9499, allocations: 19.36 kB / 1.324 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/0.9505, allocations: 459.6 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.9505, allocations: 34.56 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.9505, allocations: 0 / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003441/0.9508, allocations: 79.7 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.9508, allocations: 58.58 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.9509, allocations: 99.73 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.9509, allocations: 33.77 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.9509, allocations: 84.08 kB / 1.325 GB, free: 21.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.9509, allocations: 7.141 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.951, allocations: 12.56 kB / 1.325 GB, free: 21.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.951, allocations: 317.5 kB / 1.325 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.9511, allocations: 14.67 kB / 1.325 GB, free: 21.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.9512, allocations: 16.08 kB / 1.325 GB, free: 21.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.9513, allocations: 49.88 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9513, allocations: 4 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001737/0.9515, allocations: 62.17 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.9515, allocations: 5.688 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9515, allocations: 0 / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9515, allocations: 4.031 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.9516, allocations: 15.62 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9516, allocations: 0 / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.9517, allocations: 5.969 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.9517, allocations: 0 / 1.326 GB, free: 21.06 MB / 1.061 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.919e-05/0.9517, allocations: 118.3 kB / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.9517, allocations: 6.641 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.9519, allocations: 71.11 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9519, allocations: 0 / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9519, allocations: 0 / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.952, allocations: 3.422 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.9521, allocations: 158.3 kB / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9521, allocations: 0 / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.9521, allocations: 16.52 kB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9521, allocations: 2.844 kB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.9521, allocations: 3.938 kB / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9521, allocations: 4.031 kB / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9521, allocations: 0 / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.9523, allocations: 160.8 kB / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.9523, allocations: 77.11 kB / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.9524, allocations: 2.625 kB / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.9524, allocations: 5.641 kB / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.9525, allocations: 14.47 kB / 1.326 GB, free: 20.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.9525, allocations: 0 / 1.326 GB, free: 20.44 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.859e-05/0.9525, allocations: 81.28 kB / 1.326 GB, free: 20.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9525, allocations: 0 / 1.326 GB, free: 20.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002286/0.9527, allocations: 17.12 kB / 1.326 GB, free: 20.36 MB / 1.061 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.0004142/0.9531, allocations: 0.7206 MB / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.9533, allocations: 33.17 kB / 1.327 GB, free: 19.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9533, allocations: 4.094 kB / 1.327 GB, free: 19.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.92e-05/0.9534, allocations: 21.55 kB / 1.327 GB, free: 19.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.9536, allocations: 2.781 kB / 1.327 GB, free: 19.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.954, allocations: 155.1 kB / 1.327 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.281e-05/0.9541, allocations: 0.6787 MB / 1.328 GB, free: 18.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.9541, allocations: 6.656 kB / 1.328 GB, free: 18.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.9541, allocations: 11.5 kB / 1.328 GB, free: 18.79 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.9541, allocations: 0 / 1.328 GB, free: 18.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.9708, allocations: 1.555 MB / 1.329 GB, free: 18.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/9.522, allocations: 10.92 kB / 1.329 GB, free: 18.37 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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: 16.444035190041177]