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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.0007939, allocations: 92.39 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.0007909/0.0007909, 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.395/1.395, allocations: 223.3 MB / 240 MB, free: 5.258 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.329/2.329, allocations: 390.4 MB / 0.6655 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7311, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006414/0.7317, allocations: 330.8 kB / 0.9542 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.7331, allocations: 1.375 MB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.7332, allocations: 0 / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.608e-06/0.7332, allocations: 1.125 kB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.86e-05/0.7332, allocations: 3.938 kB / 0.9555 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.7336, allocations: 113.1 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.7336, allocations: 25.52 kB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.7337, allocations: 5.422 kB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.7337, allocations: 21.33 kB / 0.9557 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.7338, allocations: 28.67 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.7338, allocations: 2.094 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.7342, allocations: 303 kB / 0.956 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.7342, allocations: 9.172 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.7342, allocations: 27.83 kB / 0.956 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.7344, allocations: 123.9 kB / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7344, allocations: 0.9688 kB / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7345, allocations: 0 / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.7345, allocations: 0 / 0.9562 GB, free: 6.344 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003717/0.7348, allocations: 367.8 kB / 0.9565 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7349, allocations: 8.875 kB / 0.9565 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.7349, allocations: 35.56 kB / 0.9566 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/0.7353, allocations: 82.36 kB / 0.9566 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.319e-05/0.7354, allocations: 168.3 kB / 0.9568 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.7355, allocations: 1.031 kB / 0.9568 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.7355, allocations: 10.5 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.7357, allocations: 78.44 kB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7357, allocations: 1.062 kB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.7357, allocations: 0 / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7357, allocations: 5.094 kB / 0.9569 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.736, allocations: 78.8 kB / 0.957 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.7362, allocations: 165.6 kB / 0.9571 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.7367, allocations: 148.2 kB / 0.9573 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.7369, allocations: 50.2 kB / 0.9573 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.7373, allocations: 172.2 kB / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.7373, allocations: 39.52 kB / 0.9575 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.7373, allocations: 0 / 0.9575 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000987/0.7383, allocations: 436.4 kB / 0.9579 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.7383, allocations: 56.92 kB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.438e-05/0.7384, allocations: 96.73 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.7384, allocations: 25.7 kB / 0.9581 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.365e-05/0.7384, allocations: 84.14 kB / 0.9582 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.7384, allocations: 26.86 kB / 0.9582 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.7385, allocations: 0 / 0.9582 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.7385, allocations: 312.2 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.7387, allocations: 39.47 kB / 0.9585 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.7388, allocations: 43.66 kB / 0.9586 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.7389, allocations: 46.09 kB / 0.9586 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7389, allocations: 1.812 kB / 0.9586 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003118/0.7392, allocations: 123.9 kB / 0.9587 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.7393, allocations: 4.938 kB / 0.9587 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7393, allocations: 352 / 0.9587 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7393, allocations: 5.359 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.7394, allocations: 34.75 kB / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.7394, allocations: 1.375 kB / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.7395, allocations: 17.56 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.7396, allocations: 2.75 kB / 0.9588 GB, free: 4.016 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 (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 5.423e-05/0.7396, allocations: 115.2 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.7396, allocations: 5.312 kB / 0.9589 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.74, allocations: 149.7 kB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.7401, allocations: 1.375 kB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7401, allocations: 0 / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7401, allocations: 0 / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.333e-05/0.7402, allocations: 171.2 kB / 0.9592 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7402, allocations: 1.375 kB / 0.9592 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.7403, allocations: 27.22 kB / 0.9593 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7403, allocations: 4 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.7403, allocations: 1.375 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7403, allocations: 3.938 kB / 0.9593 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7404, allocations: 1.375 kB / 0.9593 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.7408, allocations: 213.1 kB / 0.9595 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.7409, allocations: 83.84 kB / 0.9595 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.7409, allocations: 3.984 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.741, allocations: 15.05 kB / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.7411, allocations: 10.75 kB / 0.9596 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.7411, allocations: 2.75 kB / 0.9596 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.809e-05/0.7411, allocations: 80.64 kB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7411, allocations: 0 / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002355/0.7413, allocations: 33.97 kB / 0.9597 GB, free: 3.242 MB / 0.7169 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 () * Number of clocked 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.0007223/0.7421, allocations: 0.7697 MB / 0.9604 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.7424, allocations: 103.1 kB / 0.9605 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7424, allocations: 0 / 0.9605 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.7426, allocations: 53.33 kB / 0.9606 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.7427, allocations: 3.375 kB / 0.9606 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.7439, allocations: 0.5679 MB / 0.9611 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.751e-05/0.744, allocations: 0.6759 MB / 0.9618 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.7441, allocations: 18.92 kB / 0.9618 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.7442, allocations: 16.03 kB / 0.9618 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7442, allocations: 4 kB / 0.9618 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.7558, allocations: 1.821 MB / 0.9636 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.756, allocations: 210.2 kB / 0.9638 GB, free: 264 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.414, allocations: 0 / 0.9638 GB, free: 264 kB / 0.7169 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