Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0",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.0009639/0.0009638, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001251/0.001252, allocations: 172.7 kB / 15.95 MB, free: 208 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.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.41 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.358/2.358, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003784, allocations: 12 kB / 0.8149 GB, free: 14.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6991/0.6995, allocations: 142.3 MB / 0.9539 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006078/0.7001, allocations: 314 kB / 0.9542 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003653/0.7005, allocations: 168.6 kB / 0.9543 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-06/0.7005, allocations: 0 / 0.9543 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.336e-06/0.7006, allocations: 0 / 0.9543 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-06/0.7006, allocations: 0 / 0.9543 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.7008, allocations: 47.33 kB / 0.9544 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.782e-05/0.7009, allocations: 1.094 kB / 0.9544 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.896e-05/0.7009, allocations: 1.344 kB / 0.9544 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.067e-05/0.7009, allocations: 0 / 0.9544 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.93e-05/0.701, allocations: 1.406 kB / 0.9544 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.701, allocations: 0 / 0.9544 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.7011, allocations: 63.06 kB / 0.9544 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-06/0.7011, allocations: 1.438 kB / 0.9544 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.7012, allocations: 25.7 kB / 0.9544 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.979e-05/0.7012, allocations: 28.92 kB / 0.9545 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7012, allocations: 0 / 0.9545 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7012, allocations: 0 / 0.9545 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.7013, allocations: 0 / 0.9545 GB, free: 7.523 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001619/0.7014, allocations: 320.7 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7015, allocations: 8.812 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.125e-05/0.7015, allocations: 34.55 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.761e-05/0.7015, allocations: 4.859 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.129e-05/0.7016, allocations: 163 kB / 0.955 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.7016, allocations: 1.094 kB / 0.955 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.7016, allocations: 4 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.18e-05/0.7017, allocations: 36.36 kB / 0.955 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.7017, allocations: 0 / 0.955 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.7017, allocations: 0 / 0.955 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7017, allocations: 0 / 0.955 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.49e-05/0.7017, allocations: 5.359 kB / 0.955 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.474e-05/0.7018, allocations: 147 kB / 0.9552 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.887e-05/0.7018, allocations: 16.33 kB / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.079e-05/0.7018, allocations: 13.95 kB / 0.9552 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/0.7024, allocations: 456.6 kB / 0.9556 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.7024, allocations: 31.44 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7024, allocations: 3.938 kB / 0.9557 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001029/0.7025, allocations: 35.02 kB / 0.9557 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.7026, allocations: 55.41 kB / 0.9558 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.57e-05/0.7026, allocations: 90.52 kB / 0.9558 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-06/0.7026, allocations: 25.7 kB / 0.9559 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.626e-06/0.7026, allocations: 81.67 kB / 0.9559 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.7026, allocations: 3.906 kB / 0.9559 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-06/0.7026, allocations: 0 / 0.9559 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.7027, allocations: 320.4 kB / 0.9563 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-06/0.7027, allocations: 8.062 kB / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.7027, allocations: 0.875 kB / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.305e-05/0.7027, allocations: 2.375 kB / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.7027, allocations: 0 / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.004e-05/0.7028, allocations: 35.39 kB / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.7028, allocations: 4.281 kB / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7028, allocations: 0 / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.7028, allocations: 1.281 kB / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.19e-05/0.7029, allocations: 1.344 kB / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7029, allocations: 8.094 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-06/0.7029, allocations: 1.312 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.7029, allocations: 7.969 kB / 0.9563 GB, free: 5.41 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 (1): * Single equations (assignments): 1 * 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 4.024e-05/0.7029, allocations: 111.2 kB / 0.9564 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.703, allocations: 0 / 0.9564 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.703, allocations: 41.61 kB / 0.9565 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.703, allocations: 0 / 0.9565 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.703, allocations: 1.438 kB / 0.9565 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.703, allocations: 4.031 kB / 0.9565 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.589e-05/0.7031, allocations: 155.1 kB / 0.9566 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.7031, allocations: 0 / 0.9566 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.7031, allocations: 1.406 kB / 0.9566 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.7031, allocations: 0 / 0.9566 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.7031, allocations: 1.281 kB / 0.9566 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7031, allocations: 0 / 0.9566 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7031, allocations: 0 / 0.9566 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.564e-05/0.7032, allocations: 68.17 kB / 0.9567 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.7032, allocations: 77.11 kB / 0.9568 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.7032, allocations: 4 kB / 0.9568 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.7032, allocations: 1.312 kB / 0.9568 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-06/0.7032, allocations: 0 / 0.9568 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.7033, allocations: 1.469 kB / 0.9568 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.907e-06/0.7033, allocations: 75.28 kB / 0.9568 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7033, allocations: 0 / 0.9568 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001993/0.7035, allocations: 14.59 kB / 0.9569 GB, free: 4.793 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 (1): * Single equations (assignments): 1 * 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.0002604/0.7037, allocations: 0.619 MB / 0.9575 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.911e-05/0.7038, allocations: 7.406 kB / 0.9575 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.7038, allocations: 4.094 kB / 0.9575 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.64e-06/0.7038, allocations: 2.75 kB / 0.9575 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.7039, allocations: 1.375 kB / 0.9575 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.7041, allocations: 107.9 kB / 0.9576 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.7042, allocations: 0.6743 MB / 0.9582 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.538e-06/0.7042, allocations: 1.312 kB / 0.9582 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.012e-05/0.7042, allocations: 7.438 kB / 0.9582 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7043, allocations: 1.219 kB / 0.9582 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009374/0.7136, allocations: 0.9637 MB / 0.9592 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.7138, allocations: 187.8 kB / 0.9594 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.236, allocations: 0 / 0.9594 GB, free: 2.641 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat does not exist to compare? outputFormat=mat