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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 98.03 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.005675/0.005675, allocations: 169.1 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.329/1.329, 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.575/2.575, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 11.12 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2303, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001273/0.2316, allocations: 1.163 MB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.2322, allocations: 355 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.2323, allocations: 0 / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.2323, allocations: 3.938 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.24e-05/0.2323, allocations: 8 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.2326, allocations: 71.86 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.542e-05/0.2327, allocations: 23.92 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7e-05/0.2328, allocations: 4 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.2328, allocations: 11.92 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.912e-05/0.2328, allocations: 4 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.2328, allocations: 4 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.2331, allocations: 143.7 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.2331, allocations: 7.875 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.2331, allocations: 25.7 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.2333, allocations: 95.72 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2333, allocations: 4 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2333, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.2333, allocations: 0 / 1.061 GB, free: 2.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003738/0.2337, allocations: 355.8 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2337, allocations: 11.97 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.2337, allocations: 34.75 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.828e-05/0.2338, allocations: 4.938 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.2338, allocations: 168.3 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2339, allocations: 12.3 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.2339, allocations: 384 / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.234, allocations: 50.25 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2341, allocations: 7.938 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.2341, allocations: 3.938 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2341, allocations: 3.984 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.2342, allocations: 39.97 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.2345, allocations: 244.9 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.2346, allocations: 54.47 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.619e-05/0.2347, allocations: 24.91 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.2353, allocations: 465.5 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2353, allocations: 30.56 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2353, allocations: 0 / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003268/0.2356, allocations: 97.64 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2357, allocations: 55.34 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.2357, allocations: 102 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.2358, allocations: 25.7 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.2358, allocations: 88.12 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2358, allocations: 7.906 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.2358, allocations: 9.719 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.2359, allocations: 310.8 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.236, allocations: 23.98 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.2361, allocations: 23.97 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2363, allocations: 48.89 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2363, allocations: 3.938 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.2365, allocations: 81.59 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.2365, allocations: 8 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2365, allocations: 0 / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.2365, allocations: 0 / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.2366, allocations: 16.02 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.2366, allocations: 0 / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.2366, allocations: 15.84 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.2366, allocations: 0 / 1.063 GB, free: 236 kB / 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 (2): * Single equations (assignments): 2 * 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.345e-05/0.2367, allocations: 109.8 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.2367, allocations: 4 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.237, allocations: 88.77 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.237, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.237, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.237, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2372, allocations: 161.5 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2372, allocations: 7.969 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.2372, allocations: 15.92 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2372, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.2372, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2373, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2373, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.2375, allocations: 175.5 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.2375, allocations: 77.3 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.2375, allocations: 4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.2376, allocations: 11.98 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.2376, allocations: 3.984 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.2377, allocations: 4.031 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.2377, allocations: 87.27 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2377, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002313/0.2379, allocations: 28 kB / 1.064 GB, free: 15.37 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.0005493/0.2385, allocations: 0.7513 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.2387, allocations: 47.95 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2387, allocations: 0 / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.2388, allocations: 27.98 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.239, allocations: 4 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.2394, allocations: 146.4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.2395, allocations: 0.677 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.2396, allocations: 3.938 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.2396, allocations: 11.5 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2396, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.798/2.038, allocations: 1.487 MB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/2.038, allocations: 191.3 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/3.705, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8262 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/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