Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.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.0008014/0.0008014, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009247/0.0009247, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8765/0.8765, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.64/1.64, allocations: 359 MB / 0.6037 GB, free: 11.08 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.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.293e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001757/0.00177, allocations: 1.452 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005247/0.002295, allocations: 322.9 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.002324, allocations: 0 / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.002352, allocations: 3.938 kB / 0.9522 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.002394, allocations: 7.938 kB / 0.9522 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.002819, allocations: 107.6 kB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.904e-05/0.002878, allocations: 19.92 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.002965, allocations: 8 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.003014, allocations: 15.92 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.003046, allocations: 4 kB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.003056, allocations: 0 / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.003224, allocations: 131.6 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.003239, allocations: 8 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.003254, allocations: 3.984 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.00341, allocations: 111.8 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003412, allocations: 0 / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003413, allocations: 0 / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.003417, allocations: 3.938 kB / 0.9526 GB, free: 1.27 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.0003372/0.003754, allocations: 278.2 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 0.000216/0.00397, allocations: 12.03 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.003999, allocations: 34.73 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.00402, allocations: 8.828 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.004092, allocations: 105.8 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.004102, allocations: 384 / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.004111, allocations: 8.375 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.004232, allocations: 50.17 kB / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.004238, allocations: 192 / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004248, allocations: 4.375 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.004259, allocations: 8.125 kB / 0.9531 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.004343, allocations: 31.95 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.004597, allocations: 212.7 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.93e-05/0.004676, allocations: 42.53 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.004724, allocations: 28.84 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/0.005077, allocations: 87.91 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.005095, allocations: 38.5 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.005096, allocations: 0 / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.005317, allocations: 77.64 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.005345, allocations: 55.41 kB / 0.9537 GB, free: 56 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.005409, allocations: 97.84 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.005419, allocations: 29.7 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.00545, allocations: 84.27 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.005467, allocations: 7.953 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.005489, allocations: 9.719 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.005562, allocations: 322.8 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.005601, allocations: 11.98 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.005636, allocations: 19.97 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.005715, allocations: 36.89 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005717, allocations: 4 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.866e-05/0.005816, allocations: 73.55 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.005826, allocations: 4 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00583, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.00584, allocations: 3.938 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.005893, allocations: 11.98 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.005899, allocations: 3.938 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.00592, allocations: 8.031 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.005924, allocations: 0 / 0.9544 GB, free: 15.3 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.775e-05/0.005972, allocations: 113.8 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.005984, allocations: 7.938 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.006103, allocations: 68.91 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006105, allocations: 0 / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.006111, allocations: 4 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006113, allocations: 0 / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.504e-05/0.006208, allocations: 132.8 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.00621, allocations: 3.938 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.006233, allocations: 7.984 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006236, allocations: 7.938 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.006241, allocations: 0 / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006242, allocations: 0 / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006243, allocations: 0 / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.006362, allocations: 163.5 kB / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.006368, allocations: 7.891 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.006378, allocations: 8.031 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.006415, allocations: 7.984 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.006445, allocations: 4 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.006447, allocations: 0 / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.49e-05/0.006472, allocations: 83.28 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006472, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001798/0.006652, allocations: 31.92 kB / 0.955 GB, free: 14.58 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.0003915/0.007044, allocations: 0.7318 MB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.007163, allocations: 44 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007165, allocations: 0 / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.007204, allocations: 23.97 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.007364, allocations: 0 / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.007664, allocations: 142.3 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.007703, allocations: 67.28 kB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.007717, allocations: 0 / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.007743, allocations: 12.62 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.007744, allocations: 4 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.0223, allocations: 2.451 MB / 0.9584 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/6.754, allocations: 5.969 kB / 0.9584 GB, free: 11.15 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.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.62417899724096]