Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",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.0009035/0.0009036, allocations: 98.03 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.005581/0.005581, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.223/1.223, 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.107/2.107, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 8.281 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5256, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001252/0.5269, allocations: 1.147 MB / 0.9563 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000455/0.5273, allocations: 248.1 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.5274, allocations: 4 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.5274, allocations: 1.312 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.343e-05/0.5274, allocations: 3.938 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.5277, allocations: 53.5 kB / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.5278, allocations: 16.25 kB / 0.9566 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.849e-05/0.5278, allocations: 10.83 kB / 0.9566 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.5279, allocations: 6.969 kB / 0.9566 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.993e-05/0.5279, allocations: 10.8 kB / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.5279, allocations: 1.562 kB / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.5281, allocations: 66.34 kB / 0.9567 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.5281, allocations: 11.92 kB / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.5281, allocations: 28.33 kB / 0.9567 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.5282, allocations: 55.94 kB / 0.9568 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5282, allocations: 0 / 0.9568 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5282, allocations: 0.9062 kB / 0.9568 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.5282, allocations: 0 / 0.9568 GB, free: 6.453 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.0003031/0.5285, allocations: 352.3 kB / 0.9571 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.5286, allocations: 14.19 kB / 0.9571 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.166e-05/0.5286, allocations: 34.75 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.5286, allocations: 2.406 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.089e-05/0.5287, allocations: 165.8 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.5287, allocations: 1.688 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.5287, allocations: 4.953 kB / 0.9573 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.5289, allocations: 63.58 kB / 0.9574 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5289, allocations: 3.938 kB / 0.9574 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.5289, allocations: 0 / 0.9574 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5289, allocations: 3.938 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.5291, allocations: 44.39 kB / 0.9574 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.5293, allocations: 256.9 kB / 0.9577 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.5294, allocations: 54.81 kB / 0.9577 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.5295, allocations: 26.31 kB / 0.9578 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/0.53, allocations: 459.7 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.53, allocations: 32.16 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.53, allocations: 0 / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/0.5304, allocations: 98.8 kB / 0.9583 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.5304, allocations: 56.38 kB / 0.9584 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.285e-05/0.5305, allocations: 98.39 kB / 0.9585 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.5305, allocations: 30.94 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.876e-05/0.5305, allocations: 84.14 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.5305, allocations: 4.969 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.5305, allocations: 10.91 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.5306, allocations: 316.4 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.5307, allocations: 22.02 kB / 0.9589 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.5307, allocations: 26.03 kB / 0.9589 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5309, allocations: 50.08 kB / 0.959 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5309, allocations: 3.938 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.5311, allocations: 77.88 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.5311, allocations: 5.375 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.5311, allocations: 0 / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5311, allocations: 4.031 kB / 0.9591 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.5312, allocations: 12.17 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5312, allocations: 1.812 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.5313, allocations: 5.625 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.5313, allocations: 0 / 0.9591 GB, free: 4.078 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 4.054e-05/0.5313, allocations: 116.4 kB / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.5313, allocations: 5.344 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.5315, allocations: 83.84 kB / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5316, allocations: 0 / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5316, allocations: 0 / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5316, allocations: 5.312 kB / 0.9593 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.5317, allocations: 161.7 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5317, allocations: 4.031 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.5317, allocations: 16.17 kB / 0.9595 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5317, allocations: 1.375 kB / 0.9595 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.5318, allocations: 0 / 0.9595 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5318, allocations: 0 / 0.9595 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5318, allocations: 1.375 kB / 0.9595 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.532, allocations: 180.5 kB / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.532, allocations: 78.48 kB / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.532, allocations: 3.984 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.5321, allocations: 6.875 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.5321, allocations: 5.594 kB / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.5321, allocations: 3.984 kB / 0.9597 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.865e-05/0.5321, allocations: 87.39 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5321, allocations: 0 / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002212/0.5324, allocations: 13.75 kB / 0.9598 GB, free: 3.328 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.0003986/0.5328, allocations: 0.7301 MB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.533, allocations: 46.44 kB / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.533, allocations: 0 / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.5331, allocations: 32.91 kB / 0.9606 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.5333, allocations: 7.047 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.5336, allocations: 138 kB / 0.9608 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.983e-05/0.5337, allocations: 0.6729 MB / 0.9614 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.5337, allocations: 5.266 kB / 0.9614 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.5337, allocations: 12.59 kB / 0.9614 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/0.5337, allocations: 0 / 0.9614 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01047/0.5442, allocations: 1.256 MB / 0.9627 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.5444, allocations: 191.9 kB / 0.9629 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.09, allocations: 0 / 0.9629 GB, free: 0.8633 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches