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 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.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.0009244/0.0009245, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007437/0.007437, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.499/2.499, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.000331, allocations: 12.84 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0006098/0.2574, allocations: 326.8 kB / 1.059 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006015/0.258, allocations: 311.1 kB / 1.059 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-06/0.2581, allocations: 4 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.2581, allocations: 0 / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-06/0.2581, allocations: 0 / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.2585, allocations: 79.8 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.646e-05/0.2585, allocations: 0 / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.2586, allocations: 0 / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.2586, allocations: 4 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.912e-05/0.2586, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.2586, allocations: 3.938 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.2589, allocations: 135.7 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.2589, allocations: 4 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.2589, allocations: 33.69 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2591, allocations: 79.81 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2591, allocations: 0 / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2591, allocations: 0 / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2591, allocations: 0 / 1.06 GB, free: 3.867 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.0002615/0.2594, allocations: 323.6 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2594, allocations: 11.97 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.2594, allocations: 34.75 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.711e-05/0.2595, allocations: 4.938 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.63e-05/0.2596, allocations: 160.4 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.2596, allocations: 4.312 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.2596, allocations: 384 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.2597, allocations: 30.27 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2597, allocations: 3.938 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2597, allocations: 4 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2597, allocations: 0 / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.2597, allocations: 3.984 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.2599, allocations: 145.7 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.522e-05/0.2599, allocations: 22.55 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.2599, allocations: 4.859 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007939/0.2607, allocations: 473.5 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.2608, allocations: 38.48 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.2608, allocations: 0 / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001151/0.2609, allocations: 41.64 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.2609, allocations: 51.41 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.338e-05/0.261, allocations: 93.8 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.261, allocations: 25.83 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.261, allocations: 84.14 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.261, allocations: 0 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.2611, allocations: 9.719 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.2612, allocations: 314.8 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.2612, allocations: 3.938 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.2612, allocations: 3.984 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.2612, allocations: 12.86 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2612, allocations: 4.062 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.638e-05/0.2613, allocations: 29.7 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2613, allocations: 4 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2613, allocations: 3.938 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2613, allocations: 4 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.338e-05/0.2614, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.2614, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.2614, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.2614, allocations: 7.922 kB / 1.062 GB, free: 1.621 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 6.141e-05/0.2615, allocations: 117.9 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.2615, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.2616, allocations: 40.77 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2616, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2616, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2616, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.2617, allocations: 145.7 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2617, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.2617, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2617, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2617, allocations: 7.969 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2617, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2617, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.562e-05/0.2618, allocations: 65.06 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.2618, allocations: 85.03 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.2618, allocations: 3.938 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-06/0.2619, allocations: 0 / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.2619, allocations: 8.031 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2619, allocations: 0 / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.134e-05/0.2619, allocations: 75.28 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2619, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002075/0.2621, allocations: 27.98 kB / 1.062 GB, free: 0.9492 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.0004294/0.2626, allocations: 0.636 MB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.102e-05/0.2626, allocations: 7.984 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2626, allocations: 0 / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.2626, allocations: 12.06 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.2628, allocations: 1.547 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.263, allocations: 112.3 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.2633, allocations: 0.6731 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.204e-05/0.2633, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.2633, allocations: 11.44 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.2633, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.2735, allocations: 1.216 MB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.2737, allocations: 216.4 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.1, allocations: 4 kB / 1.065 GB, free: 14.04 MB / 0.8262 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/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