Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.000777/0.0007767, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000828/0.0008279, allocations: 172.7 kB / 15.95 MB, free: 208 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.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.4/2.4, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.5805, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.000609/0.5811, allocations: 317.5 kB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005181/0.5817, allocations: 267.4 kB / 0.9817 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-06/0.5817, allocations: 0 / 0.9817 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.975e-06/0.5817, allocations: 0 / 0.9817 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-06/0.5817, allocations: 8 kB / 0.9817 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.5821, allocations: 75.8 kB / 0.9818 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 2.875e-05/0.5821, allocations: 0 / 0.9818 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.5822, allocations: 4 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-06/0.5822, allocations: 0 / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.825e-05/0.5822, allocations: 0 / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.48e-06/0.5822, allocations: 0 / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.5825, allocations: 135.7 kB / 0.9819 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.719e-06/0.5825, allocations: 0 / 0.9819 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.5825, allocations: 29.7 kB / 0.9819 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.71e-05/0.5826, allocations: 43.92 kB / 0.982 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5826, allocations: 0 / 0.982 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5826, allocations: 0 / 0.982 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5826, allocations: 4 kB / 0.982 GB, free: 5.359 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002483/0.5829, allocations: 331.3 kB / 0.9823 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.583, allocations: 12.03 kB / 0.9823 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.583, allocations: 30.56 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.586e-05/0.583, allocations: 3.938 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.5832, allocations: 163.1 kB / 0.9825 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.5832, allocations: 4 kB / 0.9825 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.5832, allocations: 0 / 0.9825 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.5833, allocations: 35.95 kB / 0.9825 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5833, allocations: 0 / 0.9825 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.5833, allocations: 0 / 0.9825 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5833, allocations: 0 / 0.9825 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.447e-05/0.5833, allocations: 0 / 0.9825 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.5835, allocations: 153.7 kB / 0.9827 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.127e-05/0.5835, allocations: 22.52 kB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.5835, allocations: 4.859 kB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/0.5842, allocations: 473.5 kB / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.5843, allocations: 38.56 kB / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5843, allocations: 0 / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001105/0.5844, allocations: 41.58 kB / 0.9832 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.5844, allocations: 51.41 kB / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.215e-05/0.5845, allocations: 89.86 kB / 0.9834 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.5845, allocations: 25.7 kB / 0.9834 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.5845, allocations: 80.14 kB / 0.9835 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.5845, allocations: 8.031 kB / 0.9835 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-06/0.5845, allocations: 0 / 0.9835 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.5846, allocations: 318.8 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.5846, allocations: 0 / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.5847, allocations: 0 / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.316e-05/0.5847, allocations: 0 / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5847, allocations: 4 kB / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.022e-05/0.5847, allocations: 33.69 kB / 0.9838 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.5848, allocations: 8.094 kB / 0.9838 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.5848, allocations: 0 / 0.9838 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5848, allocations: 0 / 0.9838 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.656e-05/0.5848, allocations: 15.83 kB / 0.9839 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5848, allocations: 3.984 kB / 0.9839 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.5848, allocations: 0 / 0.9839 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.5849, allocations: 0 / 0.9839 GB, free: 3.129 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.151e-05/0.5849, allocations: 105.8 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.5849, allocations: 8 kB / 0.984 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.585, allocations: 40.81 kB / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.585, allocations: 0 / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.585, allocations: 3.953 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.585, allocations: 0 / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.885e-05/0.5851, allocations: 141.7 kB / 0.9841 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5851, allocations: 3.938 kB / 0.9841 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.5851, allocations: 4 kB / 0.9842 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.5852, allocations: 7.969 kB / 0.9842 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.5852, allocations: 0 / 0.9842 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5852, allocations: 3.938 kB / 0.9842 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5852, allocations: 0 / 0.9842 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.937e-05/0.5852, allocations: 65.12 kB / 0.9842 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.5853, allocations: 77.11 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.5853, allocations: 3.984 kB / 0.9843 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.5853, allocations: 0 / 0.9843 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.5853, allocations: 0 / 0.9843 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.5853, allocations: 0 / 0.9843 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.5854, allocations: 75.31 kB / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5854, allocations: 8 kB / 0.9844 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000217/0.5856, allocations: 27.95 kB / 0.9844 GB, free: 2.465 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.000453/0.586, allocations: 0.6434 MB / 0.985 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.727e-05/0.5861, allocations: 4 kB / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5861, allocations: 0 / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.72e-06/0.5861, allocations: 0 / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.5863, allocations: 4 kB / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.5865, allocations: 120.4 kB / 0.9852 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.5868, allocations: 0.6731 MB / 0.9858 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.032e-05/0.5868, allocations: 3.938 kB / 0.9858 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.5868, allocations: 7.438 kB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5868, allocations: 0 / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.5976, allocations: 1.235 MB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.5977, allocations: 192.2 kB / 0.9872 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.189, allocations: 0 / 0.9872 GB, free: 15.58 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat