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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001873/0.001873, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.612/2.612, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8171, allocations: 140.4 MB / 0.9489 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002181/0.8193, allocations: 1.503 MB / 0.9504 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.8203, allocations: 0.804 MB / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.8203, allocations: 1.25 kB / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.8204, allocations: 3.938 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.555e-05/0.8204, allocations: 7.938 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.8207, allocations: 94.66 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.8208, allocations: 30.92 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.8209, allocations: 6.75 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.8209, allocations: 14.86 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.821, allocations: 26.77 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.821, allocations: 1.375 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.8214, allocations: 311.5 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.8214, allocations: 3.984 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.8214, allocations: 23.22 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.8217, allocations: 188.5 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8217, allocations: 0 / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8217, allocations: 0 / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.8217, allocations: 0 / 0.9518 GB, free: 7.023 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.000423/0.8221, allocations: 377.9 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.8222, allocations: 9.406 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.8226, allocations: 71.66 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.8227, allocations: 162.7 kB / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.8227, allocations: 4.375 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.8228, allocations: 2 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.8231, allocations: 86.81 kB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.8231, allocations: 3.938 kB / 0.9525 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.8231, allocations: 0 / 0.9525 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8231, allocations: 0 / 0.9525 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.8235, allocations: 99.92 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.824, allocations: 301.4 kB / 0.9529 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.8244, allocations: 100.4 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.8246, allocations: 49.91 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.8246, allocations: 1.375 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.8246, allocations: 35.69 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8246, allocations: 3.938 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0006817/0.8253, allocations: 168.4 kB / 0.9533 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.8254, allocations: 52.81 kB / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.189e-05/0.8254, allocations: 99.89 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.8254, allocations: 33.69 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.8255, allocations: 81.27 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.8255, allocations: 8.969 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.8255, allocations: 13.66 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.8256, allocations: 316.2 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.8258, allocations: 48.98 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.8259, allocations: 42.02 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.8263, allocations: 96.36 kB / 0.954 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8263, allocations: 1.469 kB / 0.954 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003959/0.8267, allocations: 124.3 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8267, allocations: 5.25 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8267, allocations: 4 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.8267, allocations: 1.438 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.8269, allocations: 20.84 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8269, allocations: 0 / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.827, allocations: 18.86 kB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.827, allocations: 1.562 kB / 0.9542 GB, free: 4.93 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.882e-05/0.8271, allocations: 119.1 kB / 0.9543 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.8271, allocations: 1.906 kB / 0.9543 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.8272, allocations: 3.125 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.8272, allocations: 5.625 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8272, allocations: 0 / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8272, allocations: 0 / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.8273, allocations: 182.4 kB / 0.9545 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8273, allocations: 4 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.8274, allocations: 21.5 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8275, allocations: 0 / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.8275, allocations: 0.9375 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8275, allocations: 1.156 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8275, allocations: 0 / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.8279, allocations: 227.1 kB / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.8279, allocations: 78.2 kB / 0.9548 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.828, allocations: 1.25 kB / 0.9548 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.8281, allocations: 21.59 kB / 0.9548 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.8281, allocations: 1.188 kB / 0.9548 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.8281, allocations: 5.25 kB / 0.9548 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.956e-05/0.8282, allocations: 84.27 kB / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8282, allocations: 4.031 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002265/0.8284, allocations: 14.72 kB / 0.9549 GB, free: 4.188 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.0001311/0.8285, allocations: 108.4 kB / 0.955 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.829, allocations: 93.92 kB / 0.9551 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.829, allocations: 1 kB / 0.9551 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.8292, allocations: 52.2 kB / 0.9552 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.8295, allocations: 6.219 kB / 0.9552 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.83, allocations: 165.6 kB / 0.9553 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/0.8301, allocations: 0.6777 MB / 0.956 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.458e-05/0.8302, allocations: 12.45 kB / 0.956 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.8302, allocations: 8.688 kB / 0.956 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8302, allocations: 7.938 kB / 0.956 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.002865/0.8331, allocations: 0.7376 MB / 0.9567 GB, free: 2.781 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches