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.001783/0.001783, allocations: 108.8 kB / 15.99 MB, free: 6.359 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.002088/0.002089, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.517/1.517, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.259/2.259, allocations: 390.2 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.47 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2969, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003066/0.3001, allocations: 1.508 MB / 0.9512 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3013, allocations: 0.7837 MB / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.3014, allocations: 0 / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.3014, allocations: 0 / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.3015, allocations: 11.92 kB / 0.952 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.3021, allocations: 99.69 kB / 0.9521 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.3021, allocations: 39.91 kB / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.3022, allocations: 8 kB / 0.9522 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.3023, allocations: 7.984 kB / 0.9522 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.3024, allocations: 19.92 kB / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3024, allocations: 7.938 kB / 0.9522 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.3028, allocations: 319.3 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.3029, allocations: 11.98 kB / 0.9525 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.3029, allocations: 7.938 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.3032, allocations: 143.8 kB / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3032, allocations: 0 / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3032, allocations: 4 kB / 0.9526 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3032, allocations: 3.938 kB / 0.9527 GB, free: 6.273 MB / 0.7325 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.0005494/0.3038, allocations: 375.6 kB / 0.953 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3038, allocations: 8.031 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000496/0.3043, allocations: 72.75 kB / 0.9531 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3044, allocations: 164.4 kB / 0.9532 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3045, allocations: 4.375 kB / 0.9532 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3045, allocations: 384 / 0.9532 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.3048, allocations: 85.94 kB / 0.9533 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3048, allocations: 7.984 kB / 0.9533 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3048, allocations: 4 kB / 0.9533 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3048, allocations: 3.938 kB / 0.9533 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.3052, allocations: 91.89 kB / 0.9534 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.3058, allocations: 300.8 kB / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.3062, allocations: 98.5 kB / 0.9538 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.3064, allocations: 48.88 kB / 0.9539 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3064, allocations: 3.984 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3064, allocations: 38.5 kB / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3064, allocations: 0 / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0007233/0.3072, allocations: 169.6 kB / 0.9541 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3072, allocations: 51.41 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.3073, allocations: 101.8 kB / 0.9542 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3073, allocations: 25.7 kB / 0.9542 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3074, allocations: 84.14 kB / 0.9543 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3074, allocations: 7.906 kB / 0.9543 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.3074, allocations: 17.7 kB / 0.9543 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.3075, allocations: 310.8 kB / 0.9546 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.3078, allocations: 47.98 kB / 0.9547 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.308, allocations: 51.94 kB / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3083, allocations: 96.7 kB / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3084, allocations: 0 / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004404/0.3088, allocations: 117.6 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3088, allocations: 4 kB / 0.9549 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3088, allocations: 0 / 0.9549 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3089, allocations: 3.938 kB / 0.9549 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.309, allocations: 23.97 kB / 0.955 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.309, allocations: 4.031 kB / 0.955 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3092, allocations: 19.97 kB / 0.955 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3092, allocations: 4 kB / 0.955 GB, free: 3.652 MB / 0.7325 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 8.1e-05/0.3093, allocations: 111.8 kB / 0.9551 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.3093, allocations: 4 kB / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.3093, allocations: 3.125 kB / 0.9551 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3094, allocations: 7.938 kB / 0.9551 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3094, allocations: 7.922 kB / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3094, allocations: 0 / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.3096, allocations: 169.6 kB / 0.9553 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3096, allocations: 0 / 0.9553 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3097, allocations: 23.97 kB / 0.9553 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3097, allocations: 0 / 0.9553 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3097, allocations: 4 kB / 0.9553 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3097, allocations: 256 / 0.9553 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3098, allocations: 4 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.3102, allocations: 223.3 kB / 0.9555 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.3103, allocations: 81.09 kB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.3103, allocations: 8 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3105, allocations: 11.98 kB / 0.9556 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3105, allocations: 7.984 kB / 0.9556 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.3105, allocations: 4.031 kB / 0.9556 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.3106, allocations: 79.28 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3106, allocations: 3.938 kB / 0.9557 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002511/0.3108, allocations: 16 kB / 0.9557 GB, free: 2.805 MB / 0.7325 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.0001648/0.311, allocations: 107.2 kB / 0.9558 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.3115, allocations: 91.91 kB / 0.9559 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3115, allocations: 0 / 0.9559 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.3117, allocations: 56 kB / 0.956 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.312, allocations: 9.312 kB / 0.956 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.3126, allocations: 187.2 kB / 0.9562 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3129, allocations: 0.6805 MB / 0.9568 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.3129, allocations: 15.38 kB / 0.9568 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.3129, allocations: 4 kB / 0.9568 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of Templates: time 0.002562/0.3155, allocations: 0.8967 MB / 0.9577 GB, free: 0.707 MB / 0.7325 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/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