Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",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 1.984/1.984, allocations: 390.5 MB / 398 MB, free: 10.91 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.000993/0.000993, allocations: 180.9 kB / 491.2 MB, free: 1.559 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.259/1.259, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0008101/0.0008101, allocations: 97.52 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.569e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7277/0.9399, allocations: 150.1 MB / 1.359 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.9402, allocations: 79.05 kB / 1.359 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01141/0.9516, allocations: 4.166 MB / 1.363 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9516, allocations: 0 / 1.363 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.9516, allocations: 0 / 1.363 GB, free: 32.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002695/0.9519, allocations: 375.1 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.952, allocations: 7.719 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.9522, allocations: 60.73 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.9523, allocations: 184.2 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.9524, allocations: 4 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.9524, allocations: 0 / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6e-05/0.9524, allocations: 22.41 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.686e-05/0.9525, allocations: 44.22 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.9525, allocations: 3.844 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.9525, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.9526, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.9527, allocations: 151.1 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.9527, allocations: 55.72 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.9528, allocations: 15.55 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.9528, allocations: 7.875 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.9528, allocations: 39.16 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.9528, allocations: 0 / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.002169/0.955, allocations: 470.7 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.52e-05/0.955, allocations: 55.25 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.9551, allocations: 100.6 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.9551, allocations: 25.7 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.9552, allocations: 89.42 kB / 1.365 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.9552, allocations: 28.69 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.9552, allocations: 0 / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.9553, allocations: 320.6 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.9554, allocations: 40.92 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.9554, allocations: 37.64 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.9555, allocations: 55.89 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.9556, allocations: 0 / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002455/0.9558, allocations: 143.8 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.9558, allocations: 5.656 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9558, allocations: 3.844 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.9558, allocations: 0 / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.9562, allocations: 67.78 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.9562, allocations: 0 / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.9565, allocations: 47.78 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.9565, allocations: 11.92 kB / 1.365 GB, free: 31.35 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 (9): * Single equations (assignments): 9 * 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 6.447e-05/0.9566, allocations: 104.9 kB / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00025/0.9568, allocations: 156.1 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.9568, allocations: 7.75 kB / 1.366 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.9569, allocations: 8.188 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9569, allocations: 1.453 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.9569, allocations: 0 / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9569, allocations: 0.5 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009557/0.9578, allocations: 0.5064 MB / 1.366 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9579, allocations: 4.062 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.9581, allocations: 73.56 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.9582, allocations: 2.953 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.9582, allocations: 10.97 kB / 1.366 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.9582, allocations: 7.953 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9582, allocations: 0 / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.9584, allocations: 264.8 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.9585, allocations: 88.84 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.9585, allocations: 0 / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.9588, allocations: 46.12 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.9588, allocations: 9.531 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.9588, allocations: 7.828 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.9589, allocations: 87.98 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9589, allocations: 0 / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002587/0.9591, allocations: 40.5 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0005164/0.9597, allocations: 0.9472 MB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.9598, allocations: 90.34 kB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9598, allocations: 4 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.9599, allocations: 49.17 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.9601, allocations: 10.17 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.9614, allocations: 394 kB / 1.368 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.9615, allocations: 0.6919 MB / 1.369 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.9617, allocations: 22.92 kB / 1.369 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.9618, allocations: 37.8 kB / 1.369 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9618, allocations: 0 / 1.369 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.9811, allocations: 2.275 MB / 1.371 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.9813, allocations: 164.9 kB / 1.371 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.3/2.282, allocations: 0 / 1.371 GB, free: 28.42 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat