Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",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.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001233/0.001233, allocations: 194.6 kB / 16.14 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.218/2.218, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5486, allocations: 140.4 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002064/0.5507, allocations: 1.48 MB / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000527/0.5512, allocations: 360 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.5513, allocations: 5.312 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.5513, allocations: 7.875 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.055e-05/0.5513, allocations: 0 / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.5517, allocations: 84.66 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.899e-05/0.5517, allocations: 13.62 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.743e-05/0.5518, allocations: 6.734 kB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.5518, allocations: 10.75 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.846e-05/0.5518, allocations: 14.66 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.5519, allocations: 1.375 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.552, allocations: 128.1 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.5521, allocations: 8.922 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.5521, allocations: 10.3 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.5522, allocations: 89.03 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5522, allocations: 0 / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5523, allocations: 0 / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.5523, allocations: 4 kB / 0.9512 GB, free: 7.523 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.0003135/0.5526, allocations: 352.7 kB / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5526, allocations: 9.125 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.329e-05/0.5526, allocations: 36.05 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.924e-05/0.5527, allocations: 2.281 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.356e-05/0.5527, allocations: 169.6 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.5527, allocations: 5.812 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.5528, allocations: 1.812 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5529, allocations: 52.86 kB / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.5529, allocations: 7.938 kB / 0.9518 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.5529, allocations: 0.9375 kB / 0.9518 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5529, allocations: 0 / 0.9518 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.5531, allocations: 34.23 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.5533, allocations: 246.2 kB / 0.9521 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5534, allocations: 46.69 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.5535, allocations: 22.77 kB / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/0.554, allocations: 458.5 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.554, allocations: 31.88 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.554, allocations: 0 / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002989/0.5543, allocations: 84.39 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.365e-05/0.5544, allocations: 51.41 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.344e-05/0.5544, allocations: 111.6 kB / 0.9529 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-06/0.5544, allocations: 25.7 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.5544, allocations: 81.39 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.5545, allocations: 5.344 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.5545, allocations: 19.09 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.18e-05/0.5545, allocations: 316.3 kB / 0.9533 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.5546, allocations: 12.98 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.5547, allocations: 25.39 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.5548, allocations: 39.66 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5548, allocations: 3.938 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001684/0.555, allocations: 64.48 kB / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.555, allocations: 4.969 kB / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.555, allocations: 5.625 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.555, allocations: 0 / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.5551, allocations: 9.703 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.5551, allocations: 0 / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.5552, allocations: 7.953 kB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.5552, allocations: 1.125 kB / 0.9534 GB, free: 5.156 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 3.747e-05/0.5552, allocations: 115 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.5552, allocations: 5.125 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.5554, allocations: 74.31 kB / 0.9536 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5554, allocations: 5.188 kB / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5555, allocations: 0 / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.5555, allocations: 0 / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.5556, allocations: 162 kB / 0.9538 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5556, allocations: 1.5 kB / 0.9538 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.5556, allocations: 10.14 kB / 0.9538 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5556, allocations: 0 / 0.9538 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.5557, allocations: 4.031 kB / 0.9538 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5557, allocations: 2.219 kB / 0.9538 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5557, allocations: 0 / 0.9538 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.5559, allocations: 158.5 kB / 0.954 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.5559, allocations: 81.11 kB / 0.954 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.5559, allocations: 5.469 kB / 0.954 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.556, allocations: 10.8 kB / 0.9541 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.556, allocations: 1.375 kB / 0.9541 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.556, allocations: 1.125 kB / 0.9541 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.785e-05/0.556, allocations: 78.84 kB / 0.9541 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.556, allocations: 3.938 kB / 0.9541 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002377/0.5563, allocations: 31.27 kB / 0.9542 GB, free: 4.414 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.0004318/0.5567, allocations: 0.7372 MB / 0.9549 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.5569, allocations: 41.66 kB / 0.9549 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5569, allocations: 0 / 0.9549 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/0.557, allocations: 23.53 kB / 0.9549 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.5572, allocations: 1.781 kB / 0.955 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.5575, allocations: 152.1 kB / 0.9551 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.554e-05/0.5576, allocations: 0.6765 MB / 0.9558 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.5576, allocations: 1.344 kB / 0.9558 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.5577, allocations: 8.469 kB / 0.9558 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5577, allocations: 0 / 0.9558 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5654/1.123, allocations: 1.548 MB / 0.9573 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/1.123, allocations: 194.8 kB / 0.9575 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.92, allocations: 3.938 kB / 0.9575 GB, free: 1.738 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat