Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.0009477/0.0009479, allocations: 86.72 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.001273/0.001273, 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.346/1.346, allocations: 223.2 MB / 240 MB, free: 5.348 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.379/2.379, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6979, allocations: 142.3 MB / 0.9539 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006094/0.6985, allocations: 315 kB / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003466/0.6989, allocations: 173.2 kB / 0.9543 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-06/0.6989, allocations: 1.562 kB / 0.9543 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.436e-06/0.6989, allocations: 0 / 0.9543 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.64e-06/0.6989, allocations: 0 / 0.9543 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.6992, allocations: 40 kB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.6993, allocations: 5.703 kB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.6993, allocations: 3.938 kB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.287e-05/0.6993, allocations: 7.984 kB / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.6994, allocations: 1.375 kB / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-06/0.6994, allocations: 0 / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.6995, allocations: 60.17 kB / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-06/0.6996, allocations: 0 / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.6996, allocations: 30.97 kB / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.001e-05/0.6996, allocations: 27.73 kB / 0.9545 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6997, allocations: 1.75 kB / 0.9545 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6997, allocations: 0 / 0.9545 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.6997, allocations: 0 / 0.9545 GB, free: 7.609 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.000163/0.6998, allocations: 319.9 kB / 0.9548 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.6999, allocations: 9.75 kB / 0.9548 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.218e-05/0.6999, allocations: 30.56 kB / 0.9548 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.683e-05/0.6999, allocations: 3.953 kB / 0.9548 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.525e-05/0.7, allocations: 163.1 kB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.7, allocations: 5.312 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.7, allocations: 0 / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.212e-05/0.7001, allocations: 32.44 kB / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.7001, allocations: 4 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.7001, allocations: 4 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.7001, allocations: 0 / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.7001, allocations: 6.109 kB / 0.9551 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.876e-05/0.7002, allocations: 150.7 kB / 0.9552 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.292e-05/0.7002, allocations: 19.55 kB / 0.9552 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-06/0.7003, allocations: 5.984 kB / 0.9552 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.7008, allocations: 464.4 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.7009, allocations: 31.97 kB / 0.9557 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7009, allocations: 0 / 0.9557 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 7.674e-05/0.7009, allocations: 30.33 kB / 0.9557 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.701, allocations: 51.41 kB / 0.9558 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.663e-05/0.701, allocations: 93.98 kB / 0.9559 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-06/0.701, allocations: 30.67 kB / 0.9559 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-06/0.701, allocations: 80.14 kB / 0.956 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.701, allocations: 9.312 kB / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.701, allocations: 0 / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.7011, allocations: 318.7 kB / 0.9563 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.7011, allocations: 5.484 kB / 0.9563 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-06/0.7011, allocations: 1.438 kB / 0.9563 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.359e-05/0.7011, allocations: 5.625 kB / 0.9563 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7011, allocations: 0 / 0.9563 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.781e-05/0.7012, allocations: 30.05 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7012, allocations: 6.531 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.7012, allocations: 0 / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.7012, allocations: 1.188 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.911e-05/0.7012, allocations: 1.219 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.7013, allocations: 1.156 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-06/0.7013, allocations: 0 / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.7013, allocations: 1.344 kB / 0.9563 GB, free: 5.512 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 3.904e-05/0.7013, allocations: 122.8 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-06/0.7013, allocations: 0 / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.7014, allocations: 37.55 kB / 0.9565 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7014, allocations: 0 / 0.9565 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.7014, allocations: 5.156 kB / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.7014, allocations: 0 / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.586e-05/0.7015, allocations: 151 kB / 0.9566 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7015, allocations: 0 / 0.9566 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.7015, allocations: 6.219 kB / 0.9566 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7015, allocations: 4.031 kB / 0.9566 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.7015, allocations: 0 / 0.9566 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7015, allocations: 1.188 kB / 0.9566 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7015, allocations: 0 / 0.9566 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.521e-05/0.7016, allocations: 63.02 kB / 0.9567 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.7016, allocations: 77.11 kB / 0.9568 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.7016, allocations: 1.188 kB / 0.9568 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.7016, allocations: 0 / 0.9568 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.7016, allocations: 5.438 kB / 0.9568 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.7016, allocations: 4 kB / 0.9568 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.21e-05/0.7016, allocations: 79.28 kB / 0.9569 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7017, allocations: 1.219 kB / 0.9569 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002159/0.7019, allocations: 15.22 kB / 0.9569 GB, free: 4.879 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.0002722/0.7022, allocations: 0.62 MB / 0.9575 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.863e-05/0.7022, allocations: 6.844 kB / 0.9575 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7022, allocations: 0 / 0.9575 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.151e-06/0.7022, allocations: 2.844 kB / 0.9575 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.7023, allocations: 1.719 kB / 0.9575 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.7026, allocations: 108.7 kB / 0.9576 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.416e-05/0.7027, allocations: 0.6703 MB / 0.9583 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.007e-05/0.7027, allocations: 0 / 0.9583 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.7027, allocations: 8.219 kB / 0.9583 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7027, allocations: 0 / 0.9583 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.714, allocations: 0.96 MB / 0.9592 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.7142, allocations: 193.1 kB / 0.9594 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.279, allocations: 0 / 0.9594 GB, free: 2.738 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat