Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 224.3 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.624/1.624, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.8 MB / 0.7715 GB, free: 3.949 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.56 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4151, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003137/0.4182, allocations: 1.459 MB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4196, allocations: 0.7572 MB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.4197, allocations: 0 / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.4197, allocations: 0 / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.4198, allocations: 3.938 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.4204, allocations: 144.1 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.676e-05/0.4204, allocations: 31.92 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.4206, allocations: 4 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.4206, allocations: 11.98 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.4207, allocations: 27.91 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.4207, allocations: 0 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.4212, allocations: 263.5 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.4212, allocations: 4 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.4212, allocations: 19.92 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.4216, allocations: 181 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4216, allocations: 0 / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4216, allocations: 0 / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4216, allocations: 0 / 1.287 GB, free: 7.801 MB / 0.9825 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.0005941/0.4222, allocations: 303.4 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4222, allocations: 8.031 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.4222, allocations: 4.172 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.4223, allocations: 30.75 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.4227, allocations: 68.86 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.4228, allocations: 122.4 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.4229, allocations: 384 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.4229, allocations: 4.359 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.4232, allocations: 85.56 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4232, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4232, allocations: 3.938 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4232, allocations: 8 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.4237, allocations: 83.91 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.4242, allocations: 263.9 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.4247, allocations: 90.5 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.4249, allocations: 64.86 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.4249, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.4249, allocations: 30.56 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4249, allocations: 0 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0007349/0.4257, allocations: 165.5 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4257, allocations: 59.33 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.4258, allocations: 106 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4258, allocations: 25.7 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.4259, allocations: 80.14 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.4259, allocations: 15.88 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.4259, allocations: 13.72 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4261, allocations: 318.8 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.4263, allocations: 43.95 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4265, allocations: 51.94 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.4269, allocations: 88.83 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4269, allocations: 0 / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004555/0.4273, allocations: 125.5 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4273, allocations: 6.188 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4273, allocations: 4.031 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4274, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.4275, allocations: 23.97 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.4275, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4277, allocations: 15.97 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.4277, allocations: 4 kB / 1.289 GB, free: 5.34 MB / 0.9825 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 0.0001044/0.4278, allocations: 118.9 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.4278, allocations: 4 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.4278, allocations: 3.312 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4278, allocations: 3.984 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4279, allocations: 3.938 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4279, allocations: 0 / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.4281, allocations: 140.7 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4281, allocations: 0 / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.4282, allocations: 27.97 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4282, allocations: 0 / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.4282, allocations: 0 / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4282, allocations: 0 / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4282, allocations: 0 / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.4288, allocations: 227.3 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.4288, allocations: 3.953 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.4288, allocations: 256 / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.429, allocations: 23.97 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.429, allocations: 4.031 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.429, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.4291, allocations: 87.27 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4291, allocations: 0 / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002496/0.4293, allocations: 15.94 kB / 1.29 GB, free: 4.625 MB / 0.9825 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.000891/0.4302, allocations: 0.7552 MB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000469/0.4307, allocations: 99.92 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4307, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.4309, allocations: 48.02 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.4312, allocations: 8 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007681/0.432, allocations: 203 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.962e-05/0.4321, allocations: 63.28 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.159e-05/0.4322, allocations: 11.98 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.4322, allocations: 11.44 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4322, allocations: 4 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.457, allocations: 1.885 MB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.64, allocations: 19.09 kB / 1.293 GB, free: 1.59 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.9584222889971]