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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001728/0.001728, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.2 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 0.8126 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7388, allocations: 140.4 MB / 0.9497 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002333/0.7411, allocations: 1.436 MB / 0.9511 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.7422, allocations: 0.792 MB / 0.9519 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.7422, allocations: 0 / 0.9519 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.7423, allocations: 3.938 kB / 0.9519 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.7423, allocations: 1.406 kB / 0.9519 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.7427, allocations: 129.2 kB / 0.952 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.7428, allocations: 34.08 kB / 0.952 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.7429, allocations: 12.02 kB / 0.9521 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.7429, allocations: 10.42 kB / 0.9521 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.743, allocations: 26.94 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.743, allocations: 2.188 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.7434, allocations: 314.2 kB / 0.9524 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.7434, allocations: 7.984 kB / 0.9524 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.7435, allocations: 15.61 kB / 0.9524 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.7437, allocations: 198.1 kB / 0.9526 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7437, allocations: 0 / 0.9526 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7438, allocations: 1.062 kB / 0.9526 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7438, allocations: 0 / 0.9526 GB, free: 7.133 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.0004188/0.7442, allocations: 371.9 kB / 0.953 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.7442, allocations: 9.906 kB / 0.953 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.288e-05/0.7443, allocations: 38.69 kB / 0.953 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.7447, allocations: 71.84 kB / 0.9531 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.483e-05/0.7448, allocations: 161.8 kB / 0.9532 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.7448, allocations: 5.969 kB / 0.9532 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.7448, allocations: 1.812 kB / 0.9532 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.7451, allocations: 85.28 kB / 0.9533 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7451, allocations: 0 / 0.9533 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.7451, allocations: 1.625 kB / 0.9533 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7451, allocations: 7.984 kB / 0.9533 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.7455, allocations: 86.91 kB / 0.9534 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.7459, allocations: 301.8 kB / 0.9537 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.7463, allocations: 96.52 kB / 0.9538 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.7465, allocations: 55.84 kB / 0.9538 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.7465, allocations: 0 / 0.9538 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.7466, allocations: 36.06 kB / 0.9539 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.7466, allocations: 0 / 0.9539 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0006791/0.7472, allocations: 173.2 kB / 0.954 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.7473, allocations: 51.41 kB / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.821e-05/0.7473, allocations: 108.3 kB / 0.9542 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.7473, allocations: 27.17 kB / 0.9542 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.7474, allocations: 84.14 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.7474, allocations: 5.094 kB / 0.9543 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.7474, allocations: 17.38 kB / 0.9543 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.7475, allocations: 324.1 kB / 0.9546 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.7477, allocations: 41.77 kB / 0.9547 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.7479, allocations: 45.27 kB / 0.9547 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.7482, allocations: 89.11 kB / 0.9548 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7483, allocations: 0 / 0.9548 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004082/0.7487, allocations: 129.4 kB / 0.9549 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7487, allocations: 4.906 kB / 0.9549 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7487, allocations: 0 / 0.9549 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7487, allocations: 1.031 kB / 0.9549 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.7489, allocations: 25.22 kB / 0.955 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7489, allocations: 3.984 kB / 0.955 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.749, allocations: 15.08 kB / 0.955 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.749, allocations: 1.281 kB / 0.955 GB, free: 5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.7491, allocations: 115 kB / 0.9551 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.7491, allocations: 5.188 kB / 0.9551 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.7491, allocations: 8.344 kB / 0.9551 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.7491, allocations: 1.25 kB / 0.9551 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7491, allocations: 0 / 0.9551 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7491, allocations: 3.984 kB / 0.9551 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.7493, allocations: 177.8 kB / 0.9553 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7493, allocations: 3.938 kB / 0.9553 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.7494, allocations: 21.56 kB / 0.9553 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7494, allocations: 5.594 kB / 0.9553 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.7494, allocations: 0 / 0.9553 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.7494, allocations: 1.344 kB / 0.9553 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7494, allocations: 3.938 kB / 0.9553 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.7499, allocations: 223.5 kB / 0.9555 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.7499, allocations: 77.11 kB / 0.9556 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.7499, allocations: 1.062 kB / 0.9556 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.7501, allocations: 22.5 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.7501, allocations: 1.344 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.7501, allocations: 5 kB / 0.9556 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.253e-05/0.7501, allocations: 91.58 kB / 0.9557 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7501, allocations: 1 kB / 0.9557 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002262/0.7504, allocations: 14.62 kB / 0.9557 GB, free: 4.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006261/0.751, allocations: 0.7576 MB / 0.9565 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.7515, allocations: 98.36 kB / 0.9566 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7515, allocations: 4 kB / 0.9566 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.7517, allocations: 44.27 kB / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.752, allocations: 10.28 kB / 0.9566 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.7526, allocations: 206.8 kB / 0.9568 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.7528, allocations: 0.6772 MB / 0.9575 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.367e-05/0.7528, allocations: 16.53 kB / 0.9575 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.7529, allocations: 8.594 kB / 0.9575 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7529, allocations: 1.219 kB / 0.9575 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.7687, allocations: 1.655 MB / 0.9591 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.699, allocations: 2.516 kB / 0.9591 GB, free: 1.633 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/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches