Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.141/2.141, allocations: 390.3 MB / 402.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001073, allocations: 188.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.0009952, allocations: 91.97 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.777e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2411, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9186/1.16, allocations: 150.2 MB / 1.366 GB, free: 3.852 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/1.16, allocations: 70.27 kB / 1.366 GB, free: 3.812 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004634/1.165, allocations: 1.574 MB / 1.367 GB, free: 2.445 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.743e-06/1.165, allocations: 0 / 1.367 GB, free: 2.445 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.165, allocations: 4 kB / 1.367 GB, free: 2.441 MB / 0.823 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.0004148/1.165, allocations: 362.4 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.165, allocations: 8.031 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/1.165, allocations: 30.56 kB / 1.368 GB, free: 2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/1.165, allocations: 0.7812 kB / 1.368 GB, free: 2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.166, allocations: 174.9 kB / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/1.166, allocations: 4 kB / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/1.166, allocations: 3.188 kB / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/1.166, allocations: 41.06 kB / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/1.166, allocations: 0 / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/1.166, allocations: 0 / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.166, allocations: 0 / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/1.166, allocations: 14.88 kB / 1.368 GB, free: 1.73 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/1.166, allocations: 269.5 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/1.166, allocations: 22.02 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/1.166, allocations: 12.73 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005701/1.167, allocations: 445.5 kB / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.167, allocations: 37.44 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/1.167, allocations: 0 / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/1.167, allocations: 44.88 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/1.167, allocations: 55.36 kB / 1.369 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/1.167, allocations: 95.8 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/1.167, allocations: 25.7 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/1.167, allocations: 84.17 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/1.167, allocations: 6.469 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/1.167, allocations: 4 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.167, allocations: 314.8 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/1.168, allocations: 6.688 kB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/1.168, allocations: 0 / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/1.168, allocations: 7.688 kB / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.168, allocations: 0 / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.496e-05/1.168, allocations: 49.33 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.168, allocations: 4 kB / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.168, allocations: 3.984 kB / 1.369 GB, free: 100 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.168, allocations: 0 / 1.369 GB, free: 100 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/1.168, allocations: 11.94 kB / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.168, allocations: 4 kB / 1.369 GB, free: 84 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/1.168, allocations: 11.94 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/1.168, allocations: 3.938 kB / 1.369 GB, free: 68 kB / 0.823 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 () * 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 7.744e-05/1.168, allocations: 109 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/1.168, allocations: 3.906 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/1.168, allocations: 51.75 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.168, allocations: 0 / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.168, allocations: 0 / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.168, allocations: 4 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/1.168, allocations: 161 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.168, allocations: 0 / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/1.168, allocations: 12.91 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.168, allocations: 3.984 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/1.168, allocations: 0 / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.168, allocations: 0 / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.168, allocations: 0 / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/1.169, allocations: 139.1 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/1.169, allocations: 81.09 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.169, allocations: 12.03 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/1.169, allocations: 7.938 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/1.169, allocations: 3.984 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/1.169, allocations: 4 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.137e-05/1.169, allocations: 78.59 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/1.169, allocations: 4 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002705/1.169, allocations: 27.94 kB / 1.37 GB, free: 15.3 MB / 0.8386 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 () * 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.0005018/1.17, allocations: 0.7034 MB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/1.17, allocations: 22.59 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.17, allocations: 0 / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.121e-05/1.17, allocations: 4 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/1.17, allocations: 5.406 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/1.17, allocations: 109.8 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/1.171, allocations: 0.6809 MB / 1.371 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.482e-05/1.171, allocations: 0 / 1.371 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/1.171, allocations: 11.56 kB / 1.371 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.171, allocations: 0 / 1.371 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/1.184, allocations: 1.223 MB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/1.184, allocations: 150.2 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.409/2.593, allocations: 1.5 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat