Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 110 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.91 kB / 1.056 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8322, allocations: 160.7 MB / 1.213 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00302/0.8352, allocations: 1.44 MB / 1.214 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006067/0.8358, allocations: 253.4 kB / 1.215 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.8358, allocations: 0 / 1.215 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.8359, allocations: 0 / 1.215 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.8359, allocations: 5.094 kB / 1.215 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.8363, allocations: 62.31 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.032e-05/0.8364, allocations: 20.36 kB / 1.215 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.8364, allocations: 10.5 kB / 1.215 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.8365, allocations: 7.266 kB / 1.215 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.8365, allocations: 18.11 kB / 1.215 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.8365, allocations: 2.219 kB / 1.215 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.8367, allocations: 63.88 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.8367, allocations: 0 / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.8367, allocations: 14.55 kB / 1.215 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.8369, allocations: 53.56 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8369, allocations: 1.094 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8369, allocations: 0 / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8369, allocations: 3.938 kB / 1.215 GB, free: 2.449 MB / 0.92 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.0005193/0.8374, allocations: 347.7 kB / 1.215 GB, free: 2.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8375, allocations: 14.16 kB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.8375, allocations: 31.81 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.8375, allocations: 2.062 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.8377, allocations: 169.4 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8377, allocations: 1.562 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.8377, allocations: 1.438 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.8379, allocations: 53.86 kB / 1.215 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8379, allocations: 3.938 kB / 1.215 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.8379, allocations: 4 kB / 1.215 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8379, allocations: 1 kB / 1.215 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.8381, allocations: 30.72 kB / 1.215 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.8384, allocations: 244.3 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.8386, allocations: 46.58 kB / 1.216 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.8386, allocations: 26.38 kB / 1.216 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007702/0.8394, allocations: 451.7 kB / 1.216 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.8394, allocations: 36.09 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8394, allocations: 4 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.8398, allocations: 75.98 kB / 1.216 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.8399, allocations: 52.5 kB / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.84, allocations: 106.9 kB / 1.216 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.84, allocations: 25.7 kB / 1.216 GB, free: 0.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.84, allocations: 85.7 kB / 1.217 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.8401, allocations: 13.17 kB / 1.217 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.8401, allocations: 11.88 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8402, allocations: 312 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.8403, allocations: 20.78 kB / 1.217 GB, free: 192 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.8404, allocations: 13.08 kB / 1.217 GB, free: 188 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.8405, allocations: 40.02 kB / 1.217 GB, free: 164 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8405, allocations: 3.938 kB / 1.217 GB, free: 160 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.8407, allocations: 72.48 kB / 1.217 GB, free: 104 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8407, allocations: 5.219 kB / 1.217 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.8408, allocations: 0.875 kB / 1.217 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.8408, allocations: 3.938 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.8408, allocations: 14.23 kB / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.8409, allocations: 0 / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.8409, allocations: 8.406 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.8409, allocations: 5.094 kB / 1.217 GB, free: 84 kB / 0.92 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 9.906e-05/0.841, allocations: 114.8 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.841, allocations: 1.062 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.8412, allocations: 70.44 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.8412, allocations: 5.062 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8412, allocations: 4.031 kB / 1.217 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8413, allocations: 1.062 kB / 1.217 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.8414, allocations: 158 kB / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8414, allocations: 3.984 kB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.8415, allocations: 9.781 kB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8415, allocations: 1 kB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.8415, allocations: 0 / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.8415, allocations: 0.8125 kB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8415, allocations: 0 / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.8418, allocations: 166.9 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.8418, allocations: 85.86 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.8418, allocations: 1.062 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.8419, allocations: 3.281 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.8419, allocations: 6.172 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.8419, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.842, allocations: 86.59 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.842, allocations: 1.062 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002408/0.8422, allocations: 16.91 kB / 1.218 GB, free: 15.34 MB / 0.9356 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.0006723/0.8429, allocations: 0.7133 MB / 1.218 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.8431, allocations: 32.94 kB / 1.218 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8431, allocations: 1.125 kB / 1.218 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.8432, allocations: 26.34 kB / 1.218 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.8434, allocations: 6.781 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.8439, allocations: 133.4 kB / 1.219 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.8442, allocations: 0.6763 MB / 1.219 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.8442, allocations: 1.094 kB / 1.219 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.8442, allocations: 12.56 kB / 1.219 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.8442, allocations: 0 / 1.219 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.8772, allocations: 1.523 MB / 1.221 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/9.034, allocations: 7.094 kB / 1.221 GB, free: 12.89 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.210571229923517]