Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.141/2.141, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009527, allocations: 87.95 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.001e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2678, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8227/1.091, allocations: 150.5 MB / 1.366 GB, free: 3.605 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.091, allocations: 72.91 kB / 1.366 GB, free: 3.566 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006986/1.098, allocations: 2.393 MB / 1.368 GB, free: 1.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.382e-06/1.098, allocations: 4 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.05e-05/1.098, allocations: 4 kB / 1.368 GB, free: 1.492 MB / 0.823 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.000403/1.098, allocations: 365.8 kB / 1.369 GB, free: 1.094 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.098, allocations: 8.031 kB / 1.369 GB, free: 1.086 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/1.098, allocations: 30.56 kB / 1.369 GB, free: 1.047 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/1.098, allocations: 8.719 kB / 1.369 GB, free: 1.039 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/1.099, allocations: 166.9 kB / 1.369 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.099, allocations: 7.75 kB / 1.369 GB, free: 0.832 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.099, allocations: 4 kB / 1.369 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/1.099, allocations: 37.06 kB / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.099, allocations: 0 / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/1.099, allocations: 0 / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.099, allocations: 0 / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/1.099, allocations: 19.11 kB / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/1.099, allocations: 271 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.778e-05/1.099, allocations: 18.58 kB / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/1.099, allocations: 12.11 kB / 1.369 GB, free: 440 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/1.1, allocations: 449.4 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.1, allocations: 34.5 kB / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.1, allocations: 4 kB / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/1.1, allocations: 41.31 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/1.1, allocations: 55.36 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/1.1, allocations: 92.25 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/1.1, allocations: 29.73 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/1.1, allocations: 83.95 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/1.1, allocations: 15.83 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/1.1, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.1, allocations: 314.8 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/1.1, allocations: 11.19 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.319e-05/1.1, allocations: 4 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.733e-05/1.1, allocations: 3.938 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.1, allocations: 4.062 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.395e-05/1.101, allocations: 45.2 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.101, allocations: 5.25 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.101, allocations: 0.7031 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/1.101, allocations: 4 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/1.101, allocations: 11.98 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.101, allocations: 0 / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/1.101, allocations: 11.94 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.101, allocations: 8.031 kB / 1.37 GB, free: 15.1 MB / 0.8386 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 () * 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 5.694e-05/1.101, allocations: 101 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/1.101, allocations: 7.844 kB / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/1.101, allocations: 51.75 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/1.101, allocations: 4 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.101, allocations: 0 / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.101, allocations: 0 / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/1.101, allocations: 161.4 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.101, allocations: 4.031 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/1.101, allocations: 8 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.101, allocations: 0 / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.101, allocations: 0.875 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.101, allocations: 7.984 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.101, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/1.101, allocations: 131.5 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/1.101, allocations: 88.14 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/1.101, allocations: 7.922 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/1.102, allocations: 5.5 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/1.102, allocations: 4 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/1.102, allocations: 3.984 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.474e-05/1.102, allocations: 79.28 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.102, allocations: 0 / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002476/1.102, allocations: 43.25 kB / 1.371 GB, free: 14.34 MB / 0.8386 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 () * 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.0005326/1.102, allocations: 0.7355 MB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.44e-05/1.102, allocations: 15.69 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.103, allocations: 0 / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/1.103, allocations: 11.94 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/1.103, allocations: 0 / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/1.103, allocations: 118.5 kB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/1.103, allocations: 0.6809 MB / 1.372 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.474e-05/1.103, allocations: 3.984 kB / 1.372 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/1.103, allocations: 7.438 kB / 1.372 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.103, allocations: 4 kB / 1.372 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/1.116, allocations: 1.454 MB / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/1.116, allocations: 143.6 kB / 1.374 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.407/2.523, allocations: 0 / 1.374 GB, free: 11.13 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat