Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008542/0.0008576, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00503/0.00503, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.121/2.121, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.000303, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5456, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001169/0.5468, allocations: 1.153 MB / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.5472, allocations: 240.6 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.5473, allocations: 1.125 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.5473, allocations: 0 / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.5473, allocations: 5.031 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.5476, allocations: 54.78 kB / 0.9566 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.203e-05/0.5476, allocations: 17.31 kB / 0.9566 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.855e-05/0.5477, allocations: 10.39 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.5477, allocations: 7.406 kB / 0.9566 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.007e-05/0.5478, allocations: 10.27 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-06/0.5478, allocations: 1 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.5479, allocations: 61.84 kB / 0.9567 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.5479, allocations: 8.906 kB / 0.9567 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.5479, allocations: 35.66 kB / 0.9567 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.548, allocations: 55.83 kB / 0.9568 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5481, allocations: 0.875 kB / 0.9568 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5481, allocations: 0 / 0.9568 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.5481, allocations: 0 / 0.9568 GB, free: 6.457 MB / 0.7169 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.0002932/0.5484, allocations: 349.8 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.5484, allocations: 8.75 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.086e-05/0.5484, allocations: 38.73 kB / 0.9572 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.772e-05/0.5484, allocations: 3.125 kB / 0.9572 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.756e-05/0.5485, allocations: 165.9 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.5485, allocations: 384 / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.5485, allocations: 5.812 kB / 0.9573 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.5487, allocations: 58.36 kB / 0.9574 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5487, allocations: 5.25 kB / 0.9574 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.5487, allocations: 0 / 0.9574 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.5487, allocations: 7.938 kB / 0.9574 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.5489, allocations: 44.61 kB / 0.9574 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.5491, allocations: 252.2 kB / 0.9577 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.5492, allocations: 52.12 kB / 0.9577 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.5493, allocations: 28.61 kB / 0.9578 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/0.5498, allocations: 460.8 kB / 0.9582 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.5498, allocations: 30.56 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5498, allocations: 0 / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003171/0.5501, allocations: 99.02 kB / 0.9583 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.5501, allocations: 52.84 kB / 0.9584 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.63e-05/0.5502, allocations: 98.28 kB / 0.9585 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.5502, allocations: 27.23 kB / 0.9585 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.5502, allocations: 89.73 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.5502, allocations: 5.312 kB / 0.9586 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.5503, allocations: 10.97 kB / 0.9586 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.095e-05/0.5503, allocations: 310.8 kB / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.5504, allocations: 29.72 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.5505, allocations: 23.39 kB / 0.9589 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.5506, allocations: 48.33 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5506, allocations: 5.094 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.5508, allocations: 78.31 kB / 0.9591 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.5508, allocations: 5.438 kB / 0.9591 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.5508, allocations: 0 / 0.9591 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.5508, allocations: 0 / 0.9591 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.5509, allocations: 13.2 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.5509, allocations: 4.031 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.551, allocations: 9.391 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.551, allocations: 1.781 kB / 0.9591 GB, free: 4.086 MB / 0.7169 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 3.801e-05/0.551, allocations: 115.5 kB / 0.9592 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.5511, allocations: 1.75 kB / 0.9592 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.5513, allocations: 88.31 kB / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5513, allocations: 0 / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5513, allocations: 192 / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5513, allocations: 0 / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.759e-05/0.5514, allocations: 166.1 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5514, allocations: 0 / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.5515, allocations: 13.03 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5515, allocations: 4.031 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.5515, allocations: 5.219 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5515, allocations: 3.984 kB / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5515, allocations: 0 / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.5517, allocations: 177.3 kB / 0.9596 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.5517, allocations: 82.47 kB / 0.9597 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-06/0.5517, allocations: 0 / 0.9597 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.5518, allocations: 9.5 kB / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.5518, allocations: 5.359 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.5518, allocations: 1.375 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.835e-05/0.5519, allocations: 82.03 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5519, allocations: 5.406 kB / 0.9598 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002167/0.5521, allocations: 12.38 kB / 0.9598 GB, free: 3.336 MB / 0.7169 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.0003931/0.5525, allocations: 0.7272 MB / 0.9605 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.5527, allocations: 46.25 kB / 0.9606 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5527, allocations: 1.375 kB / 0.9606 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.5528, allocations: 27.09 kB / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.553, allocations: 4.156 kB / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.5533, allocations: 141.9 kB / 0.9608 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.943e-05/0.5534, allocations: 0.681 MB / 0.9614 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.5534, allocations: 0 / 0.9614 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.5535, allocations: 8.812 kB / 0.9614 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of SimCode: time 8.81e-07/0.5535, allocations: 0 / 0.9614 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009578/0.563, allocations: 1.251 MB / 0.9626 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.5632, allocations: 192.7 kB / 0.9628 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.155, allocations: 0 / 0.9628 GB, free: 0.8789 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches