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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0008286/0.0008285, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0007841/0.0007841, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 11.98 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8596/0.86, allocations: 142.3 MB / 0.9538 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001608/0.8616, allocations: 1.145 MB / 0.955 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.8624, allocations: 330.1 kB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.8624, allocations: 1.125 kB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.8624, allocations: 3.938 kB / 0.9553 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.8625, allocations: 3.984 kB / 0.9553 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.8629, allocations: 86.92 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.501e-05/0.863, allocations: 15.67 kB / 0.9554 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.8631, allocations: 1.969 kB / 0.9554 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.8632, allocations: 15.3 kB / 0.9554 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.8632, allocations: 3.156 kB / 0.9554 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.8632, allocations: 5.094 kB / 0.9554 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.8635, allocations: 140.1 kB / 0.9555 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.8636, allocations: 0 / 0.9555 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.8636, allocations: 28.02 kB / 0.9556 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.8638, allocations: 59.45 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.8638, allocations: 1 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.945e-06/0.8638, allocations: 0 / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.8638, allocations: 0 / 0.9556 GB, free: 6.742 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.0004854/0.8643, allocations: 359.7 kB / 0.956 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.8644, allocations: 9.125 kB / 0.956 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.8644, allocations: 36.09 kB / 0.956 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.8645, allocations: 7.938 kB / 0.956 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.8646, allocations: 169.8 kB / 0.9562 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.8646, allocations: 3.938 kB / 0.9562 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.8646, allocations: 1.406 kB / 0.9562 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.8648, allocations: 61.14 kB / 0.9562 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8648, allocations: 1.125 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.8648, allocations: 0 / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.8648, allocations: 1 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.865, allocations: 48.33 kB / 0.9563 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.8653, allocations: 248.8 kB / 0.9565 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.8655, allocations: 43.88 kB / 0.9566 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.8656, allocations: 36.31 kB / 0.9566 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000675/0.8662, allocations: 465.4 kB / 0.9571 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.8663, allocations: 39.78 kB / 0.9571 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.8663, allocations: 0 / 0.9571 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.8666, allocations: 103.1 kB / 0.9572 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.8667, allocations: 51.41 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.8667, allocations: 99.2 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.8668, allocations: 29.64 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.8668, allocations: 86.25 kB / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.8668, allocations: 7.906 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.8668, allocations: 1.094 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.8669, allocations: 316.1 kB / 0.9578 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.867, allocations: 21.67 kB / 0.9578 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.867, allocations: 21.47 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.086e-05/0.8671, allocations: 27.36 kB / 0.9578 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8671, allocations: 0 / 0.9578 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001704/0.8673, allocations: 68.98 kB / 0.9579 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.8673, allocations: 10.83 kB / 0.9579 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8673, allocations: 1.25 kB / 0.9579 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8674, allocations: 7.953 kB / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.8675, allocations: 12.53 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.8675, allocations: 0 / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.8675, allocations: 10.64 kB / 0.9579 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.8675, allocations: 0.8125 kB / 0.9579 GB, free: 4.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.071e-05/0.8676, allocations: 111 kB / 0.958 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.8676, allocations: 6.656 kB / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.8678, allocations: 83.08 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.8679, allocations: 1.062 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8679, allocations: 3.953 kB / 0.9581 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8679, allocations: 0 / 0.9581 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.868, allocations: 158.7 kB / 0.9583 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.868, allocations: 0 / 0.9583 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.8681, allocations: 12.52 kB / 0.9583 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8681, allocations: 4.875 kB / 0.9583 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.8681, allocations: 0 / 0.9583 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8681, allocations: 1.188 kB / 0.9583 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8681, allocations: 0 / 0.9583 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.8683, allocations: 185.1 kB / 0.9585 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.8683, allocations: 81.09 kB / 0.9585 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.8683, allocations: 1.406 kB / 0.9586 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.8684, allocations: 13.55 kB / 0.9586 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.8685, allocations: 5.938 kB / 0.9586 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.8685, allocations: 1.938 kB / 0.9586 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.8685, allocations: 89.06 kB / 0.9587 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8685, allocations: 0 / 0.9587 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002594/0.8688, allocations: 28.25 kB / 0.9587 GB, free: 3.641 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005497/0.8693, allocations: 0.7428 MB / 0.9594 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.8695, allocations: 46.23 kB / 0.9595 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8696, allocations: 0 / 0.9595 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.8696, allocations: 28.36 kB / 0.9595 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.8699, allocations: 7.75 kB / 0.9595 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.8703, allocations: 144 kB / 0.9596 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.8704, allocations: 0.6805 MB / 0.9603 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.8705, allocations: 9.75 kB / 0.9603 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.8705, allocations: 9.219 kB / 0.9603 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8705, allocations: 0 / 0.9603 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.8824, allocations: 1.51 MB / 0.9618 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.8826, allocations: 174.4 kB / 0.9619 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.57, allocations: 0 / 0.9619 GB, free: 1.066 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/linux/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