Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.001519/0.001518, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.001918/0.001918, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.659/2.659, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.869/4.869, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007078/0.0007079, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416/1.417, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002105/1.419, allocations: 1.149 MB / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007851/1.42, allocations: 338.5 kB / 0.9823 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/1.42, allocations: 4 kB / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/1.42, allocations: 0 / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/1.42, allocations: 0 / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/1.42, allocations: 79.78 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/1.42, allocations: 11.92 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/1.42, allocations: 8 kB / 0.9824 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/1.421, allocations: 3.984 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/1.421, allocations: 8 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/1.421, allocations: 7.938 kB / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/1.421, allocations: 139.8 kB / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/1.421, allocations: 7.922 kB / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/1.421, allocations: 25.7 kB / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/1.421, allocations: 51.91 kB / 0.9826 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.421, allocations: 0 / 0.9826 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.535e-06/1.421, allocations: 4 kB / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.171e-06/1.421, allocations: 0 / 0.9826 GB, free: 4.43 MB / 0.7325 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.0007367/1.422, allocations: 361.5 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/1.422, allocations: 8.031 kB / 0.983 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/1.422, allocations: 34.56 kB / 0.983 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/1.422, allocations: 0 / 0.983 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/1.422, allocations: 159.1 kB / 0.9832 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/1.422, allocations: 4 kB / 0.9832 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/1.422, allocations: 4 kB / 0.9832 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/1.423, allocations: 69.5 kB / 0.9833 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.423, allocations: 0 / 0.9833 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.423, allocations: 0 / 0.9833 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/1.423, allocations: 0 / 0.9833 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/1.423, allocations: 47.95 kB / 0.9833 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/1.423, allocations: 252.8 kB / 0.9835 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/1.424, allocations: 42.52 kB / 0.9836 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009891/1.425, allocations: 477.4 kB / 0.984 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/1.425, allocations: 38.56 kB / 0.9841 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/1.425, allocations: 0 / 0.9841 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004139/1.425, allocations: 93.64 kB / 0.9842 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.425, allocations: 51.41 kB / 0.9842 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/1.425, allocations: 102 kB / 0.9843 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/1.425, allocations: 33.64 kB / 0.9843 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/1.425, allocations: 84.12 kB / 0.9844 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/1.425, allocations: 7.906 kB / 0.9844 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.425, allocations: 0 / 0.9844 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.425, allocations: 310.8 kB / 0.9847 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/1.426, allocations: 23.98 kB / 0.9848 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/1.426, allocations: 27.91 kB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.714e-05/1.426, allocations: 23.98 kB / 0.9848 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.426, allocations: 0 / 0.9848 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/1.426, allocations: 77.69 kB / 0.9849 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.426, allocations: 7.984 kB / 0.9849 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.426, allocations: 4 kB / 0.9849 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.426, allocations: 0 / 0.9849 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/1.426, allocations: 8 kB / 0.9849 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.426, allocations: 3.984 kB / 0.9849 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/1.426, allocations: 12.02 kB / 0.9849 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/1.426, allocations: 4 kB / 0.9849 GB, free: 1.793 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.426, allocations: 107.9 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/1.426, allocations: 3.953 kB / 0.985 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/1.427, allocations: 88.72 kB / 0.9851 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.427, allocations: 4.172 kB / 0.9851 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.427, allocations: 0 / 0.9851 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/1.427, allocations: 7.984 kB / 0.9851 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/1.427, allocations: 157.6 kB / 0.9853 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.427, allocations: 0 / 0.9853 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/1.427, allocations: 11.98 kB / 0.9853 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.427, allocations: 4.031 kB / 0.9853 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/1.427, allocations: 3.953 kB / 0.9853 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.427, allocations: 0 / 0.9853 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.427, allocations: 3.938 kB / 0.9853 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/1.427, allocations: 179.5 kB / 0.9855 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/1.427, allocations: 77.11 kB / 0.9855 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/1.427, allocations: 0 / 0.9855 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/1.427, allocations: 15.94 kB / 0.9855 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/1.428, allocations: 0 / 0.9855 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.428, allocations: 0 / 0.9855 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.624e-05/1.428, allocations: 91.2 kB / 0.9856 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.428, allocations: 32 / 0.9856 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002954/1.428, allocations: 32 kB / 0.9857 GB, free: 0.9258 MB / 0.7325 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 (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.0008666/1.429, allocations: 0.7359 MB / 0.9864 GB, free: 168 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000308/1.429, allocations: 51.92 kB / 0.9864 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.429, allocations: 0 / 0.9864 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/1.429, allocations: 23.98 kB / 0.9865 GB, free: 92 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/1.429, allocations: 7.953 kB / 0.9865 GB, free: 84 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/1.43, allocations: 142.5 kB / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/1.43, allocations: 0.6809 MB / 0.9873 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.658e-05/1.43, allocations: 8 kB / 0.9873 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/1.43, allocations: 11.42 kB / 0.9873 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of SimCode: time 4.3e-07/1.43, allocations: 0 / 0.9873 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/1.457, allocations: 1.496 MB / 0.9887 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/1.457, allocations: 179.9 kB / 0.9889 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/4.17, allocations: 0 / 0.9889 GB, free: 13.54 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat