Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.014/2.014, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009404/0.0009404, allocations: 180.9 kB / 491.2 MB, free: 1.562 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.249/1.249, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0007968/0.0007968, allocations: 87.95 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.801e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2122, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6971/0.9094, allocations: 150.8 MB / 1.36 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.9097, allocations: 88.39 kB / 1.36 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01497/0.9247, allocations: 5.505 MB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9247, allocations: 0 / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.9247, allocations: 0 / 1.365 GB, free: 32.69 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003962/0.9251, allocations: 399.6 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.9252, allocations: 7.812 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.9255, allocations: 73.95 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.125e-05/0.9256, allocations: 173.4 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.9256, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.9257, allocations: 7.656 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.504e-05/0.9258, allocations: 34.98 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.9259, allocations: 66.72 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.9259, allocations: 6.766 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.9259, allocations: 0 / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.9259, allocations: 4 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.9264, allocations: 310.1 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.9265, allocations: 71.34 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.9265, allocations: 25.72 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.9266, allocations: 3.828 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.9266, allocations: 30.56 kB / 1.366 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.9266, allocations: 0 / 1.366 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.01138/0.938, allocations: 2.11 MB / 1.368 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/0.938, allocations: 51.41 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.9381, allocations: 93.52 kB / 1.369 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.9381, allocations: 25.7 kB / 1.369 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.9382, allocations: 90.34 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.9382, allocations: 41.89 kB / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.9383, allocations: 0 / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.9383, allocations: 318.2 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.9385, allocations: 110.3 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.9386, allocations: 111.4 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.9389, allocations: 143 kB / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.9389, allocations: 0 / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005628/0.9395, allocations: 333.2 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.9395, allocations: 3.812 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.9395, allocations: 3.953 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.9395, allocations: 96 / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.9403, allocations: 124.6 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.9403, allocations: 0 / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.9408, allocations: 59.94 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.9409, allocations: 19.16 kB / 1.37 GB, free: 30.54 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 (13): * Single equations (assignments): 13 * 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 0.0001082/0.941, allocations: 111.5 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005761/0.9416, allocations: 326.4 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.9416, allocations: 14.92 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.9417, allocations: 7.719 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.9417, allocations: 3.812 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9417, allocations: 0 / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9417, allocations: 0 / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.9427, allocations: 0.8829 MB / 1.371 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9427, allocations: 0 / 1.371 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.9435, allocations: 120.5 kB / 1.371 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9435, allocations: 3.984 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.9435, allocations: 20.62 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9435, allocations: 2.672 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9435, allocations: 0 / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.9444, allocations: 0.5873 MB / 1.372 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.9445, allocations: 110.8 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.9446, allocations: 3.875 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.9452, allocations: 53.78 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.9453, allocations: 28.52 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.9453, allocations: 27.92 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.684e-05/0.9454, allocations: 75.28 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9454, allocations: 3.844 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003349/0.9457, allocations: 56.94 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001115/0.9468, allocations: 1.134 MB / 1.373 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004123/0.9473, allocations: 262.3 kB / 1.374 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9473, allocations: 0 / 1.374 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.9475, allocations: 147.8 kB / 1.374 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.9477, allocations: 11.36 kB / 1.374 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.9511, allocations: 0.7281 MB / 1.374 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.9513, allocations: 0.6964 MB / 1.375 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006195/0.9519, allocations: 94.3 kB / 1.375 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.9522, allocations: 64.36 kB / 1.375 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.9522, allocations: 0 / 1.375 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.9721, allocations: 3.759 MB / 1.379 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.9722, allocations: 171.9 kB / 1.379 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/2.407, allocations: 1.75 kB / 1.379 GB, free: 27.47 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat