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.004327/0.004327, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001037/0.001037, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.296/2.296, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.7825, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002244/0.7847, allocations: 1.441 MB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.7858, allocations: 0.7947 MB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.7858, allocations: 0.75 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.7859, allocations: 5.312 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.7859, allocations: 0.75 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.7863, allocations: 130.1 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.7864, allocations: 35.16 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.7865, allocations: 4.281 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.7866, allocations: 21.77 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.7866, allocations: 20.77 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.7866, allocations: 3.625 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.7871, allocations: 315.7 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.7871, allocations: 12.2 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.7872, allocations: 15.88 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.7875, allocations: 192.8 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7875, allocations: 0.5625 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7875, allocations: 0 / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7875, allocations: 0 / 1.09 GB, free: 3.461 MB / 0.8575 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.0004681/0.788, allocations: 372.4 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.788, allocations: 10.42 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.7881, allocations: 40.09 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/0.7885, allocations: 66.38 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.7886, allocations: 167.1 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.7886, allocations: 1.531 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.7887, allocations: 5.844 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.789, allocations: 89.84 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.789, allocations: 4 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.789, allocations: 0 / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.789, allocations: 1.156 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.7895, allocations: 97.75 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.79, allocations: 298.9 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.7904, allocations: 92.47 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.7906, allocations: 56.48 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.7907, allocations: 0 / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.7907, allocations: 32.7 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.7907, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0007676/0.7915, allocations: 175.8 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.7915, allocations: 52.12 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.7916, allocations: 102.5 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.7916, allocations: 26.36 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.7916, allocations: 82.22 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.7917, allocations: 9.438 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.7917, allocations: 18.33 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.7918, allocations: 317.2 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.792, allocations: 42.38 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.7922, allocations: 50.45 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.7926, allocations: 89.39 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7926, allocations: 0 / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004581/0.7931, allocations: 123.4 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7931, allocations: 5.594 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7931, allocations: 0.625 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7931, allocations: 4.75 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.7933, allocations: 21.39 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7933, allocations: 0.7031 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.7934, allocations: 16.59 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.7935, allocations: 1.781 kB / 1.093 GB, free: 1.605 MB / 0.8575 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 5.847e-05/0.7935, allocations: 120.7 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.7936, allocations: 4.719 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.7936, allocations: 5.453 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7936, allocations: 0 / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7936, allocations: 1.641 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.7936, allocations: 0 / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.7938, allocations: 176.7 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7938, allocations: 0 / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.7939, allocations: 25 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7939, allocations: 0.5625 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.7939, allocations: 1.797 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.794, allocations: 0.7812 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.794, allocations: 5.062 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.7945, allocations: 226.6 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.7945, allocations: 82.56 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.7945, allocations: 4.656 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.7947, allocations: 20.88 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.7947, allocations: 7.75 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.7947, allocations: 1.328 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.555e-05/0.7948, allocations: 80.28 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7948, allocations: 0.6562 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002564/0.795, allocations: 15.5 kB / 1.093 GB, free: 0.918 MB / 0.8575 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.0008283/0.7959, allocations: 0.7625 MB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.7964, allocations: 97.17 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7964, allocations: 0 / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.7966, allocations: 54.2 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.7969, allocations: 3.047 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.7976, allocations: 197 kB / 1.095 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.7979, allocations: 0.6767 MB / 1.095 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.536e-05/0.798, allocations: 7 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.798, allocations: 11.59 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.798, allocations: 0 / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.8157, allocations: 1.693 MB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.987, allocations: 4.453 kB / 1.097 GB, free: 14.92 MB / 0.8731 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