Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.001026/0.001027, allocations: 87.03 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.001255/0.001256, 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.472/1.472, allocations: 223.2 MB / 240 MB, free: 5.422 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.441/2.441, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8211/0.8215, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001551/0.8231, allocations: 1.151 MB / 0.955 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.8242, allocations: 0.7322 MB / 0.9557 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.8243, allocations: 0 / 0.9557 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.8243, allocations: 0 / 0.9557 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.8244, allocations: 5.062 kB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.8249, allocations: 89.78 kB / 0.9558 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.785e-05/0.8249, allocations: 33.72 kB / 0.9558 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.825, allocations: 11.45 kB / 0.9558 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.605e-05/0.8251, allocations: 10.48 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.8252, allocations: 17.98 kB / 0.9558 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.8252, allocations: 5.969 kB / 0.9559 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.8257, allocations: 306.5 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.8257, allocations: 5.141 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.8257, allocations: 30.92 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.826, allocations: 135.2 kB / 0.9563 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.826, allocations: 1.375 kB / 0.9563 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.826, allocations: 4 kB / 0.9563 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.826, allocations: 0 / 0.9563 GB, free: 6.223 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004576/0.8265, allocations: 378.2 kB / 0.9567 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8265, allocations: 12.97 kB / 0.9567 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.8265, allocations: 35.5 kB / 0.9567 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.827, allocations: 82.97 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.555e-05/0.8271, allocations: 168.3 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.8271, allocations: 5.5 kB / 0.957 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.8271, allocations: 1.406 kB / 0.957 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.8274, allocations: 92.25 kB / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.8274, allocations: 0 / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.8275, allocations: 0 / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.8275, allocations: 1.25 kB / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.8279, allocations: 120.5 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.8284, allocations: 303.8 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.8287, allocations: 112.2 kB / 0.9576 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.8289, allocations: 62.47 kB / 0.9576 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.829, allocations: 0 / 0.9576 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.829, allocations: 40.33 kB / 0.9577 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.829, allocations: 0 / 0.9577 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000722/0.8297, allocations: 205.8 kB / 0.9579 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.8298, allocations: 51.41 kB / 0.9579 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.8298, allocations: 112.3 kB / 0.958 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.8299, allocations: 25.7 kB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.8299, allocations: 81.27 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.8299, allocations: 9.312 kB / 0.9581 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.8299, allocations: 0 / 0.9581 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.83, allocations: 316 kB / 0.9584 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.8302, allocations: 55.86 kB / 0.9585 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.8304, allocations: 61.42 kB / 0.9585 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.8306, allocations: 50.33 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8306, allocations: 1.25 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004059/0.831, allocations: 153.2 kB / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.831, allocations: 6.844 kB / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.831, allocations: 3.953 kB / 0.9587 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.8311, allocations: 0.75 kB / 0.9587 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.8312, allocations: 39.59 kB / 0.9588 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8312, allocations: 0 / 0.9588 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.8314, allocations: 20.67 kB / 0.9588 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.8314, allocations: 0 / 0.9588 GB, free: 4.113 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 (2): * Single equations (assignments): 2 * 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.259e-05/0.8314, allocations: 116.5 kB / 0.9589 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.8315, allocations: 9.375 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.8315, allocations: 3.125 kB / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8315, allocations: 5.516 kB / 0.9589 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8315, allocations: 0 / 0.9589 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.8315, allocations: 0 / 0.9589 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.8316, allocations: 174.3 kB / 0.9591 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8317, allocations: 0 / 0.9591 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.8318, allocations: 30.66 kB / 0.9591 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8318, allocations: 1.625 kB / 0.9591 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.8318, allocations: 0 / 0.9591 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8318, allocations: 3.953 kB / 0.9591 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8319, allocations: 1.531 kB / 0.9591 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.8323, allocations: 244.4 kB / 0.9594 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.8323, allocations: 78.48 kB / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.8323, allocations: 3.984 kB / 0.9594 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.8325, allocations: 28.5 kB / 0.9595 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.8325, allocations: 5.328 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.8325, allocations: 1.375 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.635e-05/0.8326, allocations: 87.39 kB / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8326, allocations: 0 / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002542/0.8328, allocations: 15 kB / 0.9596 GB, free: 3.371 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006948/0.8335, allocations: 0.7855 MB / 0.9603 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.834, allocations: 123.5 kB / 0.9605 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.834, allocations: 1.375 kB / 0.9605 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.8342, allocations: 58.52 kB / 0.9605 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.8345, allocations: 13.88 kB / 0.9605 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.8352, allocations: 210.7 kB / 0.9607 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.8353, allocations: 0.677 MB / 0.9614 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.8354, allocations: 7.719 kB / 0.9614 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.8355, allocations: 13.58 kB / 0.9614 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.8355, allocations: 4 kB / 0.9614 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.8468, allocations: 1.4 MB / 0.9628 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.8469, allocations: 195.7 kB / 0.963 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.605, allocations: 0 / 0.963 GB, free: 0.7656 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat