Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",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.001098/0.001098, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6663, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002288/0.6686, allocations: 1.429 MB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005696/0.6692, allocations: 347.8 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.6692, allocations: 1.344 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.6693, allocations: 7.875 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.731e-05/0.6693, allocations: 7.938 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.6697, allocations: 103.1 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.6698, allocations: 24.17 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.6699, allocations: 4 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.798e-05/0.6699, allocations: 10.73 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.67, allocations: 19.56 kB / 0.9516 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.67, allocations: 1.281 kB / 0.9516 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.6702, allocations: 129.4 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.6702, allocations: 5.078 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.6702, allocations: 14.22 kB / 0.9518 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.6704, allocations: 92.42 kB / 0.9518 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6704, allocations: 0 / 0.9518 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6704, allocations: 0 / 0.9518 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.6704, allocations: 1.031 kB / 0.9518 GB, free: 7.527 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.0003774/0.6708, allocations: 352.6 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6708, allocations: 8.75 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.6709, allocations: 32.03 kB / 0.9522 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.6709, allocations: 2 kB / 0.9522 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.423e-05/0.671, allocations: 173.8 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.671, allocations: 1.906 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.671, allocations: 2.188 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.6712, allocations: 44.38 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.6712, allocations: 3.938 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.6712, allocations: 5.141 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.6712, allocations: 0 / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.6714, allocations: 38.78 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.6716, allocations: 252.6 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.6717, allocations: 39.12 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.6718, allocations: 22.27 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.6724, allocations: 472.4 kB / 0.9532 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.6725, allocations: 39.92 kB / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.6725, allocations: 4 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003225/0.6728, allocations: 76.28 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.6728, allocations: 55.39 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.613e-05/0.6729, allocations: 98.83 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.6729, allocations: 27.27 kB / 0.9535 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.6729, allocations: 80.14 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.6729, allocations: 5.969 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.673, allocations: 23.8 kB / 0.9536 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.673, allocations: 316.3 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.6731, allocations: 12.08 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.6732, allocations: 17.2 kB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.6733, allocations: 48.91 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6733, allocations: 3.938 kB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001665/0.6735, allocations: 59.83 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.6735, allocations: 9.328 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6735, allocations: 0 / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6735, allocations: 1.312 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.6736, allocations: 5.375 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6736, allocations: 3.938 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.6737, allocations: 12.8 kB / 0.9541 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.6737, allocations: 0 / 0.9541 GB, free: 5.164 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.632e-05/0.6737, allocations: 115.5 kB / 0.9542 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.6738, allocations: 5.25 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.674, allocations: 74.45 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.674, allocations: 0 / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.674, allocations: 5 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.674, allocations: 0 / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.6741, allocations: 165.9 kB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6741, allocations: 1.344 kB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.6741, allocations: 13.7 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6742, allocations: 0 / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.6742, allocations: 1.375 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6742, allocations: 0 / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6742, allocations: 0 / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.6744, allocations: 168 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.6744, allocations: 77.11 kB / 0.9547 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.6744, allocations: 1.312 kB / 0.9547 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.6745, allocations: 6.797 kB / 0.9547 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.6745, allocations: 6.781 kB / 0.9547 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.6745, allocations: 0 / 0.9547 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.169e-05/0.6745, allocations: 86.08 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6745, allocations: 1.469 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002467/0.6748, allocations: 30.56 kB / 0.9548 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.000469/0.6753, allocations: 0.7334 MB / 0.9555 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.6755, allocations: 45.42 kB / 0.9556 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6755, allocations: 64 / 0.9556 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.6756, allocations: 19.7 kB / 0.9556 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.6758, allocations: 5.031 kB / 0.9556 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.6761, allocations: 138.7 kB / 0.9557 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.6763, allocations: 0.681 MB / 0.9564 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.847e-05/0.6763, allocations: 1.25 kB / 0.9564 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.6763, allocations: 12.47 kB / 0.9564 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.6763, allocations: 1.094 kB / 0.9564 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.803/2.48, allocations: 1.747 MB / 0.9581 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/13.81, allocations: 5.234 kB / 0.9581 GB, free: 1.828 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat