Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007744/0.0007744, 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.00082/0.00082, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8776/0.8776, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.916e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001751/0.00177, allocations: 1.455 MB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.002169, allocations: 243.1 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.002193, allocations: 4 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.002218, allocations: 0 / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.002255, allocations: 7.938 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.002557, allocations: 59.75 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.002613, allocations: 27.92 kB / 0.9522 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.002691, allocations: 0 / 0.9522 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.002737, allocations: 11.98 kB / 0.9523 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.002765, allocations: 7.984 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.002775, allocations: 0 / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.002885, allocations: 67.83 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.0029, allocations: 11.97 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.002915, allocations: 4 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.003041, allocations: 63.84 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003042, allocations: 0 / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003043, allocations: 3.938 kB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.003048, allocations: 0 / 0.9524 GB, free: 1.523 MB / 0.9011 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.0003242/0.003372, allocations: 266.3 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.003412, allocations: 16.02 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.525e-05/0.003437, allocations: 34.69 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.003457, allocations: 4.891 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.468e-05/0.003532, allocations: 117.7 kB / 0.9528 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.003541, allocations: 384 / 0.9528 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.003548, allocations: 384 / 0.9528 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.003668, allocations: 50.23 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.003674, allocations: 192 / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.003681, allocations: 384 / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.003686, allocations: 4.125 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.398e-05/0.00377, allocations: 39.95 kB / 0.9529 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.004014, allocations: 212.1 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.004088, allocations: 42.48 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.004132, allocations: 25.52 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.004452, allocations: 71.92 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.004472, allocations: 42.48 kB / 0.9533 GB, free: 492 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.004473, allocations: 0 / 0.9533 GB, free: 492 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002025/0.004675, allocations: 77.59 kB / 0.9534 GB, free: 408 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.004699, allocations: 55.39 kB / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.003e-05/0.004749, allocations: 101.9 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.004759, allocations: 25.7 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.004789, allocations: 84.09 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.004803, allocations: 8.125 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.004827, allocations: 17.7 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.005026, allocations: 310.8 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.00507, allocations: 15.98 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.005104, allocations: 15.98 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.72e-05/0.005181, allocations: 44.81 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005183, allocations: 4.062 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.005287, allocations: 69.5 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.0053, allocations: 8 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.005308, allocations: 3.984 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.00532, allocations: 4.125 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.005373, allocations: 4 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005377, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.005399, allocations: 7.984 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.005405, allocations: 8.031 kB / 0.9541 GB, free: 15.57 MB / 0.9167 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.966e-05/0.005455, allocations: 105.8 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.005468, allocations: 7.922 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.005597, allocations: 72.97 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005599, allocations: 3.984 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.005603, allocations: 0 / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005606, allocations: 0 / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.005706, allocations: 124.7 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.005708, allocations: 8.031 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.005731, allocations: 11.92 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005733, allocations: 3.938 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.005739, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.005741, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.005743, allocations: 4 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.005869, allocations: 155.5 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.005879, allocations: 11.89 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.005891, allocations: 12.02 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.005926, allocations: 4 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.005958, allocations: 3.984 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.005961, allocations: 4 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.519e-05/0.005986, allocations: 79.28 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005986, allocations: 0 / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001622/0.006148, allocations: 15.94 kB / 0.9547 GB, free: 14.88 MB / 0.9167 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.0003631/0.006512, allocations: 0.7201 MB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.006632, allocations: 31.97 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006633, allocations: 0 / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.177e-05/0.006675, allocations: 28 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.006847, allocations: 6.094 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.00716, allocations: 142.5 kB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.007197, allocations: 63.28 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.606e-05/0.007213, allocations: 7.906 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.007239, allocations: 8.5 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.00724, allocations: 0 / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.02081, allocations: 2.184 MB / 0.9578 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.819, allocations: 8.062 kB / 0.9578 GB, free: 11.73 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.636399346403778]