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/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.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/Buildings 10.0.0-master/package.mo): time 1.989/1.989, allocations: 390.5 MB / 398 MB, free: 10.91 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.0009855/0.0009855, allocations: 180.8 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.000954/0.0009538, allocations: 95.83 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.243e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.75/0.9694, allocations: 149.1 MB / 1.358 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.9696, allocations: 78.72 kB / 1.358 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006198/0.9759, allocations: 2.167 MB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9759, allocations: 0 / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.9759, allocations: 0 / 1.36 GB, free: 33.02 MB / 0.8386 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.0002136/0.9761, allocations: 345.7 kB / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.9762, allocations: 10.94 kB / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.9762, allocations: 0 / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.198e-05/0.9763, allocations: 165 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.9763, allocations: 3.938 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.9763, allocations: 7.828 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.288e-05/0.9763, allocations: 0 / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.585e-05/0.9764, allocations: 30.81 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.9764, allocations: 0 / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.9764, allocations: 0 / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.9764, allocations: 7.812 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.159e-05/0.9765, allocations: 127.9 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.785e-05/0.9765, allocations: 17.83 kB / 1.361 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.9766, allocations: 8.578 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/0.9771, allocations: 455.8 kB / 1.361 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.9771, allocations: 31.73 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.9771, allocations: 0 / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001154/0.9772, allocations: 34.91 kB / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.341e-05/0.9772, allocations: 51.41 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.352e-05/0.9773, allocations: 89.03 kB / 1.362 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.9773, allocations: 25.7 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.9773, allocations: 83.8 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.9773, allocations: 0.7812 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-06/0.9773, allocations: 0 / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.9774, allocations: 315.7 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-06/0.9774, allocations: 0 / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-06/0.9774, allocations: 0 / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.9775, allocations: 5.016 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9775, allocations: 4 kB / 1.362 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.403e-05/0.9775, allocations: 34.62 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.9776, allocations: 7.344 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.9776, allocations: 0 / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.9776, allocations: 0 / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.62e-05/0.9776, allocations: 5.391 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.9776, allocations: 3.938 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-06/0.9777, allocations: 3.906 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.9777, allocations: 3.875 kB / 1.362 GB, free: 31.04 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 (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 5.053e-05/0.9777, allocations: 105 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.46e-05/0.9778, allocations: 37.11 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-06/0.9778, allocations: 1.5 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.9779, allocations: 38 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.9779, allocations: 3.656 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.9779, allocations: 0 / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9779, allocations: 1.219 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.28e-05/0.9779, allocations: 127.4 kB / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9779, allocations: 3.953 kB / 1.362 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.9779, allocations: 11.75 kB / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.978, allocations: 0 / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.978, allocations: 1.781 kB / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.978, allocations: 0 / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.978, allocations: 0 / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.344e-05/0.978, allocations: 57.53 kB / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.9781, allocations: 81.06 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.9781, allocations: 1.578 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-06/0.9781, allocations: 4.875 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.9781, allocations: 0 / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.9781, allocations: 0 / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.9781, allocations: 75.28 kB / 1.363 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.9781, allocations: 0 / 1.363 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002201/0.9784, allocations: 49.12 kB / 1.363 GB, free: 30.43 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 (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.0004712/0.9788, allocations: 0.6577 MB / 1.363 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.649e-05/0.9789, allocations: 3.531 kB / 1.363 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9789, allocations: 0 / 1.363 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.9789, allocations: 3.906 kB / 1.363 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.979, allocations: 0 / 1.363 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.9793, allocations: 101.4 kB / 1.363 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.9795, allocations: 0.6742 MB / 1.364 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.085e-05/0.9795, allocations: 128 / 1.364 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.9795, allocations: 12.75 kB / 1.364 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/0.9795, allocations: 0 / 1.364 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.9975, allocations: 0.8744 MB / 1.365 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/0.9977, allocations: 145.9 kB / 1.365 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.303/2.3, allocations: 2.484 kB / 1.365 GB, free: 28.73 MB / 0.8386 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) 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