Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.0007781/0.0007781, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004446/0.004446, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 11.94 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0006067/0.2617, allocations: 330.8 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005598/0.2623, allocations: 303.1 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.006e-05/0.2623, allocations: 4 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.738e-06/0.2623, allocations: 0 / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.2624, allocations: 0 / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.2627, allocations: 71.81 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.429e-05/0.2627, allocations: 0 / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.2628, allocations: 0 / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.28e-05/0.2628, allocations: 7.984 kB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.718e-05/0.2628, allocations: 0 / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.2628, allocations: 4 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.263, allocations: 127.8 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.2631, allocations: 3.984 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.2631, allocations: 29.7 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.2632, allocations: 71.83 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2632, allocations: 3.938 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2633, allocations: 3.938 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2633, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 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.0002493/0.2635, allocations: 332.8 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2636, allocations: 11.97 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.2636, allocations: 30.75 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.63e-05/0.2636, allocations: 4.938 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.897e-05/0.2637, allocations: 160.4 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2637, allocations: 4.359 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.2637, allocations: 384 / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.075e-05/0.2638, allocations: 30.2 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2638, allocations: 7.938 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.2638, allocations: 4 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2638, allocations: 0 / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.2638, allocations: 0 / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.264, allocations: 145.7 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.032e-05/0.264, allocations: 22.59 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.264, allocations: 8.844 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/0.2646, allocations: 461.5 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2647, allocations: 34.5 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2647, allocations: 0 / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001055/0.2648, allocations: 37.62 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2648, allocations: 55.53 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.994e-05/0.2648, allocations: 89.86 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.2649, allocations: 25.7 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.2649, allocations: 88.14 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.2649, allocations: 0 / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.2649, allocations: 9.719 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.265, allocations: 310.8 kB / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.265, allocations: 0 / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-06/0.265, allocations: 0 / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.2651, allocations: 16.86 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2651, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.813e-05/0.2651, allocations: 37.69 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2651, allocations: 8 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2652, allocations: 7.875 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.2652, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.962e-05/0.2652, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2652, allocations: 4 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-06/0.2652, allocations: 0 / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.2652, allocations: 4.031 kB / 1.062 GB, free: 1.691 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.2653, allocations: 105.8 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.2653, allocations: 3.938 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.2654, allocations: 48.69 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2654, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2654, allocations: 4 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2654, allocations: 0 / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.557e-05/0.2655, allocations: 149.7 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2655, allocations: 4.031 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.2655, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2655, allocations: 4 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2655, allocations: 3.938 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2655, allocations: 0 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2655, allocations: 0 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.712e-05/0.2656, allocations: 57.08 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.2656, allocations: 85.09 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-06/0.2656, allocations: 7.969 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.199e-05/0.2656, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-06/0.2657, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.2657, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.181e-05/0.2657, allocations: 75.28 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2657, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002014/0.2659, allocations: 28 kB / 1.062 GB, free: 1.027 MB / 0.8106 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 (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.0003917/0.2663, allocations: 0.636 MB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.941e-05/0.2664, allocations: 11.97 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2664, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-06/0.2664, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2665, allocations: 1.406 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.2667, allocations: 120.3 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.2669, allocations: 0.6731 MB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.187e-06/0.267, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.267, allocations: 11.42 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.267, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009298/0.2763, allocations: 1.21 MB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.2765, allocations: 210.4 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/1.803, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat