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.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.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.001135/0.001135, 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.001228/0.001228, allocations: 192.7 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.254/2.254, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6542, allocations: 140.4 MB / 0.9497 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002018/0.6563, allocations: 1.418 MB / 0.9511 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004892/0.6568, allocations: 344.6 kB / 0.9514 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.6568, allocations: 1.5 kB / 0.9514 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.6569, allocations: 3.938 kB / 0.9514 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.6569, allocations: 7.922 kB / 0.9514 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.6573, allocations: 96.8 kB / 0.9515 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.6573, allocations: 25.03 kB / 0.9516 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.763e-05/0.6574, allocations: 7.781 kB / 0.9516 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/0.6574, allocations: 15.17 kB / 0.9516 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.986e-05/0.6575, allocations: 7.125 kB / 0.9516 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.6575, allocations: 1.344 kB / 0.9516 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.6576, allocations: 129.7 kB / 0.9517 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.6577, allocations: 1.5 kB / 0.9517 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.6577, allocations: 8.969 kB / 0.9517 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.6578, allocations: 84.16 kB / 0.9518 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6578, allocations: 0 / 0.9518 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6578, allocations: 4.969 kB / 0.9518 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6579, allocations: 0 / 0.9518 GB, free: 7.707 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.0003112/0.6582, allocations: 356.1 kB / 0.9521 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.6582, allocations: 9.719 kB / 0.9522 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.933e-05/0.6582, allocations: 31.88 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.898e-05/0.6582, allocations: 1.906 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.983e-05/0.6583, allocations: 173.8 kB / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.6583, allocations: 5.562 kB / 0.9524 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.6583, allocations: 2.312 kB / 0.9524 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.6585, allocations: 53.42 kB / 0.9524 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.6585, allocations: 3.938 kB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.6585, allocations: 0 / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.6585, allocations: 0 / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.6587, allocations: 34.89 kB / 0.9524 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.6589, allocations: 250 kB / 0.9527 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.659, allocations: 45.64 kB / 0.9527 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.6591, allocations: 18.66 kB / 0.9527 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/0.6595, allocations: 463 kB / 0.9532 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.6596, allocations: 35.92 kB / 0.9532 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.6596, allocations: 0 / 0.9532 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002954/0.6599, allocations: 76.31 kB / 0.9533 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.637e-05/0.6599, allocations: 57 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.066e-05/0.6599, allocations: 106.6 kB / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.66, allocations: 25.7 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.66, allocations: 81.39 kB / 0.9536 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.66, allocations: 4.969 kB / 0.9536 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.66, allocations: 19.52 kB / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.6601, allocations: 312.4 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.6601, allocations: 20.36 kB / 0.9539 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.6602, allocations: 17.33 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.6603, allocations: 39.78 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6604, allocations: 3.938 kB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001603/0.6605, allocations: 64.48 kB / 0.954 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.6605, allocations: 9.906 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.6605, allocations: 3.938 kB / 0.954 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.6606, allocations: 5.391 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.6606, allocations: 4.938 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.6606, allocations: 1 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.6607, allocations: 15.95 kB / 0.9541 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.6607, allocations: 0 / 0.9541 GB, free: 5.332 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.738e-05/0.6607, allocations: 111.9 kB / 0.9542 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.6608, allocations: 5.031 kB / 0.9542 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.661, allocations: 74.12 kB / 0.9542 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.661, allocations: 1.062 kB / 0.9542 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.661, allocations: 3.984 kB / 0.9542 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.661, allocations: 1.188 kB / 0.9542 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.692e-05/0.6611, allocations: 157 kB / 0.9544 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6611, allocations: 1.094 kB / 0.9544 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.6611, allocations: 14.14 kB / 0.9544 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6612, allocations: 4.031 kB / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.6612, allocations: 0 / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6612, allocations: 1.312 kB / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6612, allocations: 0 / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.6614, allocations: 162.7 kB / 0.9546 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.6614, allocations: 78.89 kB / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.6614, allocations: 4.031 kB / 0.9546 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.6615, allocations: 11.94 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.6615, allocations: 1.281 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.6615, allocations: 1.469 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.723e-05/0.6615, allocations: 78.16 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6615, allocations: 0 / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002342/0.6618, allocations: 35.27 kB / 0.9548 GB, free: 4.594 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.0004289/0.6622, allocations: 0.7418 MB / 0.9555 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.6624, allocations: 32.78 kB / 0.9555 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6624, allocations: 1.469 kB / 0.9555 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.6625, allocations: 21.91 kB / 0.9555 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.6627, allocations: 8.938 kB / 0.9556 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.663, allocations: 144.1 kB / 0.9557 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.156e-05/0.6631, allocations: 0.6812 MB / 0.9564 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.66e-05/0.6631, allocations: 0 / 0.9564 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.6631, allocations: 9.562 kB / 0.9564 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6631, allocations: 3.938 kB / 0.9564 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.761/2.424, allocations: 1.726 MB / 0.9581 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/13.75, allocations: 3.984 kB / 0.9581 GB, free: 2.012 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