Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",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.001042/0.001042, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001313/0.001313, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8475, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001774/0.8493, allocations: 1.142 MB / 0.955 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006075/0.85, allocations: 230.8 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.85, allocations: 1.062 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.8501, allocations: 3.984 kB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.8501, allocations: 5.094 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.8505, allocations: 41.03 kB / 0.9552 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.8505, allocations: 27.36 kB / 0.9553 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.8506, allocations: 2.156 kB / 0.9553 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.8507, allocations: 11.19 kB / 0.9553 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.8507, allocations: 10.72 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.8507, allocations: 0.9062 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.8509, allocations: 61.06 kB / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.8509, allocations: 5.375 kB / 0.9554 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.8509, allocations: 26.92 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.8511, allocations: 39.14 kB / 0.9554 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.8511, allocations: 4 kB / 0.9554 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.8511, allocations: 0 / 0.9554 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.8511, allocations: 1.531 kB / 0.9554 GB, free: 6.836 MB / 0.7169 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.0003985/0.8515, allocations: 343.5 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8516, allocations: 9.094 kB / 0.9558 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.8516, allocations: 36.12 kB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.8516, allocations: 5.078 kB / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.8517, allocations: 168 kB / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.8517, allocations: 1.406 kB / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.8518, allocations: 1.406 kB / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.8519, allocations: 53.36 kB / 0.956 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.852, allocations: 0 / 0.956 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.852, allocations: 1.625 kB / 0.956 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.852, allocations: 0 / 0.956 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.8522, allocations: 51.56 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.8525, allocations: 253 kB / 0.9563 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.8526, allocations: 55.77 kB / 0.9564 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.8527, allocations: 27.62 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.8534, allocations: 460 kB / 0.9568 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.8534, allocations: 31.69 kB / 0.9569 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.8534, allocations: 0 / 0.9569 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.8538, allocations: 106.2 kB / 0.957 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.8538, allocations: 56.25 kB / 0.957 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.8539, allocations: 98.58 kB / 0.9571 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.8539, allocations: 26.8 kB / 0.9571 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.854, allocations: 85.19 kB / 0.9572 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.854, allocations: 5.156 kB / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.854, allocations: 8.125 kB / 0.9572 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.8541, allocations: 312.1 kB / 0.9575 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.661e-05/0.8542, allocations: 17.92 kB / 0.9575 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.8542, allocations: 21.27 kB / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/0.8543, allocations: 26.44 kB / 0.9576 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.8543, allocations: 1.156 kB / 0.9576 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.8545, allocations: 73.05 kB / 0.9577 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8545, allocations: 9.781 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8545, allocations: 192 / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8546, allocations: 9.094 kB / 0.9577 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.8547, allocations: 15.91 kB / 0.9577 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.8547, allocations: 0 / 0.9577 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.8547, allocations: 15.28 kB / 0.9577 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.8547, allocations: 0 / 0.9577 GB, free: 4.496 MB / 0.7169 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 6.598e-05/0.8548, allocations: 111.2 kB / 0.9578 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.8548, allocations: 1.562 kB / 0.9578 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.8551, allocations: 80 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8551, allocations: 1.125 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8551, allocations: 11.97 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8551, allocations: 0 / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.8552, allocations: 154.9 kB / 0.958 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8552, allocations: 0 / 0.958 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.8553, allocations: 12.42 kB / 0.9581 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.8553, allocations: 1.469 kB / 0.9581 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.8553, allocations: 3.938 kB / 0.9581 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8553, allocations: 3.938 kB / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8553, allocations: 0 / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.8555, allocations: 181.8 kB / 0.9582 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.8556, allocations: 77.11 kB / 0.9583 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.8556, allocations: 1.5 kB / 0.9583 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.8557, allocations: 16.89 kB / 0.9583 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.8557, allocations: 2.344 kB / 0.9583 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.8557, allocations: 0 / 0.9583 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.8558, allocations: 86.31 kB / 0.9584 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8558, allocations: 1 kB / 0.9584 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002345/0.856, allocations: 17.19 kB / 0.9584 GB, free: 3.754 MB / 0.7169 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.0004978/0.8565, allocations: 0.7275 MB / 0.9591 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.8567, allocations: 46.98 kB / 0.9592 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8567, allocations: 0 / 0.9592 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.8568, allocations: 23.02 kB / 0.9592 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.8571, allocations: 7.812 kB / 0.9592 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.8575, allocations: 138.7 kB / 0.9593 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.8576, allocations: 0.681 MB / 0.96 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.8576, allocations: 5.125 kB / 0.96 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.8577, allocations: 8.531 kB / 0.96 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8577, allocations: 0 / 0.96 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.8692, allocations: 1.257 MB / 0.9613 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.8694, allocations: 177.4 kB / 0.9614 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.548, allocations: 3.938 kB / 0.9614 GB, free: 1.316 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat