Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001659/0.001659, allocations: 180.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 87.95 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.472e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2996, allocations: 142.3 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8822/1.182, allocations: 149.3 MB / 1.352 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/1.182, allocations: 82.48 kB / 1.352 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01247/1.195, allocations: 4.101 MB / 1.356 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.014e-06/1.195, allocations: 4 kB / 1.356 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.195, allocations: 0 / 1.356 GB, free: 33.54 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004369/1.195, allocations: 365.8 kB / 1.356 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.195, allocations: 11.53 kB / 1.356 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/1.196, allocations: 61.55 kB / 1.356 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.839e-05/1.196, allocations: 171.6 kB / 1.356 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/1.196, allocations: 0 / 1.356 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/1.196, allocations: 4.609 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.3e-05/1.196, allocations: 20.73 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/1.196, allocations: 54.89 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.196, allocations: 0 / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.196, allocations: 0 / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.196, allocations: 0.5625 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/1.196, allocations: 143.2 kB / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/1.196, allocations: 56.7 kB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/1.196, allocations: 17.77 kB / 1.357 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/1.196, allocations: 8.688 kB / 1.357 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/1.196, allocations: 34.94 kB / 1.357 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/1.196, allocations: 0 / 1.357 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.001225/1.198, allocations: 424.1 kB / 1.357 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/1.198, allocations: 55 kB / 1.357 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/1.198, allocations: 88.22 kB / 1.357 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/1.198, allocations: 26.27 kB / 1.357 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/1.198, allocations: 80.14 kB / 1.357 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/1.198, allocations: 20.55 kB / 1.357 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/1.198, allocations: 3.938 kB / 1.357 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/1.198, allocations: 315.7 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/1.198, allocations: 12.22 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/1.198, allocations: 19.61 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/1.198, allocations: 62.47 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/1.198, allocations: 4 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003352/1.199, allocations: 114.6 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.199, allocations: 8.281 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.199, allocations: 4 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.199, allocations: 0 / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/1.199, allocations: 29.78 kB / 1.358 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/1.199, allocations: 3.938 kB / 1.358 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/1.199, allocations: 16.02 kB / 1.358 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/1.199, allocations: 0.5625 kB / 1.358 GB, free: 31.77 MB / 0.8386 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 (6): * Single equations (assignments): 6 * 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.383e-05/1.199, allocations: 109.4 kB / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003346/1.199, allocations: 121.7 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/1.199, allocations: 0 / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/1.2, allocations: 136 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.2, allocations: 3.875 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.2, allocations: 0 / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.2, allocations: 3.047 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.758e-05/1.2, allocations: 147 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.2, allocations: 0 / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/1.2, allocations: 33.16 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.2, allocations: 4 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.2, allocations: 3.844 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.2, allocations: 0 / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.2, allocations: 0 / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/1.201, allocations: 156.5 kB / 1.359 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/1.201, allocations: 98.94 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/1.201, allocations: 192 / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/1.201, allocations: 18.78 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/1.201, allocations: 6.562 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/1.201, allocations: 3.844 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.074e-05/1.201, allocations: 82.25 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.201, allocations: 7.781 kB / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002439/1.201, allocations: 35.31 kB / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0007146/1.202, allocations: 0.7422 MB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001089/1.202, allocations: 35 kB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.202, allocations: 0 / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/1.202, allocations: 28.55 kB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/1.202, allocations: 1.031 kB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/1.203, allocations: 171.8 kB / 1.36 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/1.203, allocations: 0.6792 MB / 1.361 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001077/1.203, allocations: 26.47 kB / 1.361 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/1.203, allocations: 14.83 kB / 1.361 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.203, allocations: 0 / 1.361 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/1.221, allocations: 1.478 MB / 1.362 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/1.222, allocations: 158.8 kB / 1.362 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.718, allocations: 0 / 1.362 GB, free: 29.37 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat does not exist to compare? outputFormat=mat