Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",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.00101/0.001011, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001234/0.001234, allocations: 168.7 kB / 15.95 MB, free: 204 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.418/1.418, allocations: 223.2 MB / 240 MB, free: 5.418 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.389/2.389, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005372/0.0005376, allocations: 15.94 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.706, allocations: 142.3 MB / 0.9539 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006832/0.7067, allocations: 362.9 kB / 0.9542 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.7084, allocations: 1.392 MB / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.7084, allocations: 0 / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.7084, allocations: 0 / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.7085, allocations: 5.188 kB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.7089, allocations: 90.7 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.709, allocations: 24.41 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.709, allocations: 2.406 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.7091, allocations: 12.78 kB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.7091, allocations: 26.36 kB / 0.9557 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.7091, allocations: 2.25 kB / 0.9557 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.7096, allocations: 302.8 kB / 0.956 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.7096, allocations: 5.172 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.7096, allocations: 30.83 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.7098, allocations: 134.1 kB / 0.9562 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7099, allocations: 7.938 kB / 0.9562 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7099, allocations: 0.9062 kB / 0.9562 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.7099, allocations: 3.938 kB / 0.9562 GB, free: 6.375 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003855/0.7103, allocations: 368.5 kB / 0.9565 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.7103, allocations: 9.375 kB / 0.9565 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.81e-05/0.7103, allocations: 30.56 kB / 0.9566 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.7107, allocations: 83 kB / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.7108, allocations: 175 kB / 0.9568 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.7109, allocations: 5.031 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.7109, allocations: 2.062 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.7111, allocations: 78.48 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7112, allocations: 1.031 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.7112, allocations: 0 / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.7112, allocations: 1.531 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.7115, allocations: 88.66 kB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.7117, allocations: 171.3 kB / 0.9572 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.7121, allocations: 152.7 kB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.7123, allocations: 48.14 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.7123, allocations: 0.9688 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.7124, allocations: 31.62 kB / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.7124, allocations: 4 kB / 0.9574 GB, free: 5.258 MB / 0.7169 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003664/0.716, allocations: 0.9463 MB / 0.9583 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.7161, allocations: 59.39 kB / 0.9584 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.7162, allocations: 113.5 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.7162, allocations: 27.61 kB / 0.9585 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.7162, allocations: 86.14 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.7163, allocations: 25.47 kB / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.7163, allocations: 1.656 kB / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.7163, allocations: 320.5 kB / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.7167, allocations: 117.3 kB / 0.959 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.7171, allocations: 123.4 kB / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.7174, allocations: 116.9 kB / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7174, allocations: 0 / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007738/0.7182, allocations: 277.8 kB / 0.9595 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.7182, allocations: 8.938 kB / 0.9595 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7182, allocations: 0.8125 kB / 0.9595 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7183, allocations: 1.031 kB / 0.9595 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.7186, allocations: 71.8 kB / 0.9596 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.7186, allocations: 1.125 kB / 0.9596 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.7188, allocations: 49.55 kB / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.7188, allocations: 7.391 kB / 0.9597 GB, free: 3.941 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 (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.596e-05/0.7189, allocations: 112.1 kB / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.7189, allocations: 7 kB / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.719, allocations: 9.344 kB / 0.9598 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.719, allocations: 2.156 kB / 0.9598 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.719, allocations: 3.953 kB / 0.9598 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.719, allocations: 7.984 kB / 0.9598 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.7205, allocations: 0.6563 MB / 0.9604 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.7206, allocations: 5.297 kB / 0.9604 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.7208, allocations: 67.16 kB / 0.9605 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.7208, allocations: 2.5 kB / 0.9605 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.7209, allocations: 6.266 kB / 0.9605 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.7209, allocations: 1.812 kB / 0.9605 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7209, allocations: 5.031 kB / 0.9605 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008289/0.7217, allocations: 387 kB / 0.9609 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.7217, allocations: 83.34 kB / 0.961 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.7218, allocations: 2.281 kB / 0.961 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.722, allocations: 46.67 kB / 0.961 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.722, allocations: 16.36 kB / 0.961 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.7221, allocations: 15.77 kB / 0.961 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.7221, allocations: 87.22 kB / 0.9611 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7221, allocations: 0 / 0.9611 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003033/0.7224, allocations: 44.17 kB / 0.9612 GB, free: 2.805 MB / 0.7169 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 () * Number of clocked 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.00108/0.7235, allocations: 0.9427 MB / 0.9621 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008159/0.7243, allocations: 251.8 kB / 0.9623 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7243, allocations: 0 / 0.9623 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.7248, allocations: 130.4 kB / 0.9624 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.725, allocations: 15.33 kB / 0.9625 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.7278, allocations: 1.144 MB / 0.9636 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.7279, allocations: 0.688 MB / 0.9643 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.728, allocations: 20.11 kB / 0.9643 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.7281, allocations: 27.38 kB / 0.9643 GB, free: 464 kB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7282, allocations: 1.25 kB / 0.9643 GB, free: 464 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.7418, allocations: 2.436 MB / 0.9667 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.7421, allocations: 199.1 kB / 0.9669 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.385, allocations: 1 kB / 0.9669 GB, free: 15.05 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat