Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.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.001194/0.001194, 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.000959/0.000959, 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.8749/0.8749, 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.688/1.688, allocations: 359 MB / 0.6037 GB, free: 11.1 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.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.203e-05, allocations: 9.172 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001851/0.001873, allocations: 1.442 MB / 0.9519 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005486/0.002422, allocations: 318.9 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.002452, allocations: 0 / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.002482, allocations: 7.922 kB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.002526, allocations: 7.922 kB / 0.9522 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.002982, allocations: 99.72 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.003044, allocations: 19.92 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.113e-05/0.003125, allocations: 11.88 kB / 0.9524 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.003169, allocations: 11.98 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.065e-05/0.003199, allocations: 8 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.00321, allocations: 4 kB / 0.9524 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.003364, allocations: 119.7 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.003377, allocations: 4 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.003393, allocations: 4 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.003555, allocations: 111.7 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003557, allocations: 0 / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.823e-06/0.003559, allocations: 0 / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.003564, allocations: 3.938 kB / 0.9526 GB, free: 1.316 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.0003514/0.003916, allocations: 274.2 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.003953, allocations: 15.97 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.003983, allocations: 34.73 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.004005, allocations: 8.891 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.004081, allocations: 105.7 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.004092, allocations: 4.375 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.004099, allocations: 4.312 kB / 0.953 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.004223, allocations: 50.23 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.00423, allocations: 192 / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.004237, allocations: 384 / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.004242, allocations: 4.125 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.00433, allocations: 39.95 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.004589, allocations: 208.1 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.004669, allocations: 42.48 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.004719, allocations: 21.52 kB / 0.9534 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.005062, allocations: 83.83 kB / 0.9535 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.005083, allocations: 34.5 kB / 0.9535 GB, free: 276 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.005084, allocations: 0 / 0.9535 GB, free: 276 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000217/0.005301, allocations: 85.62 kB / 0.9536 GB, free: 184 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.005325, allocations: 51.53 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.005377, allocations: 105.8 kB / 0.9537 GB, free: 4 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.005399, allocations: 25.7 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.005431, allocations: 88.14 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.005444, allocations: 3.953 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.005469, allocations: 13.72 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.005547, allocations: 318.8 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.005587, allocations: 15.98 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.005623, allocations: 19.98 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.005701, allocations: 36.89 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005703, allocations: 0 / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.005806, allocations: 73.55 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.005818, allocations: 4 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005823, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.005834, allocations: 11.88 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.005886, allocations: 12.02 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.00589, allocations: 0 / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.005914, allocations: 7.984 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.005919, allocations: 0 / 0.9543 GB, free: 15.35 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 5.185e-05/0.005971, allocations: 113.8 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.005983, allocations: 3.938 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.006104, allocations: 68.97 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006106, allocations: 0 / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.00611, allocations: 4.031 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.006112, allocations: 3.938 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.549e-05/0.006208, allocations: 124.8 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006208, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.006233, allocations: 11.98 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006234, allocations: 3.938 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-06/0.00624, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.006241, allocations: 3.938 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.006242, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.006361, allocations: 163.5 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.006368, allocations: 11.89 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-06/0.006377, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.006414, allocations: 7.984 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.006442, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.006443, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.006468, allocations: 87.27 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006468, allocations: 0 / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001916/0.00666, allocations: 31.88 kB / 0.955 GB, free: 14.65 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.0004021/0.007062, allocations: 0.7397 MB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.007182, allocations: 39.98 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.007184, allocations: 0 / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.007222, allocations: 15.98 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.007388, allocations: 8 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.007702, allocations: 154.3 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.007738, allocations: 55.36 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.548e-05/0.007753, allocations: 4.125 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.007782, allocations: 16.48 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.007783, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.02298, allocations: 2.43 MB / 0.9583 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.694, allocations: 7.938 kB / 0.9583 GB, free: 11.23 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.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.594479742459953]