Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007879/0.0007879, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008147/0.0008147, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.906/0.906, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.775/1.775, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.094e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002347/0.002368, allocations: 1.456 MB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003428, allocations: 0.76 MB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.003467, allocations: 3.938 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.003502, allocations: 3.938 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.003554, allocations: 3.938 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.003971, allocations: 135.5 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.004037, allocations: 35.86 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.004121, allocations: 0 / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.004175, allocations: 23.92 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.004226, allocations: 19.97 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.004241, allocations: 4 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.004507, allocations: 247.5 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.004522, allocations: 4 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.004546, allocations: 15.91 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.004794, allocations: 211.5 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004796, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004797, allocations: 4 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004801, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 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.0004271/0.005229, allocations: 297.9 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.005278, allocations: 8.75 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.005311, allocations: 34.73 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.005581, allocations: 64.86 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.00568, allocations: 117.7 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.005707, allocations: 4.375 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.005719, allocations: 4.375 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.005917, allocations: 78.19 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.005924, allocations: 192 / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.005938, allocations: 16.05 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005945, allocations: 0 / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.006162, allocations: 91.91 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.006584, allocations: 256 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.006791, allocations: 90.5 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.006899, allocations: 52.81 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.006916, allocations: 0 / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.006941, allocations: 46.48 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.006942, allocations: 3.938 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0004339/0.007376, allocations: 157.6 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.007412, allocations: 51.41 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.007484, allocations: 109.8 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.007496, allocations: 25.7 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.007541, allocations: 88.27 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.007564, allocations: 7.953 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.007598, allocations: 17.7 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.007685, allocations: 318.8 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.00779, allocations: 43.89 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.782e-05/0.007887, allocations: 47.95 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.008078, allocations: 92.77 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00808, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002418/0.008322, allocations: 133.5 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.008335, allocations: 4 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.00834, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.008354, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.008457, allocations: 28 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.008463, allocations: 0 / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.008517, allocations: 15.97 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.008526, allocations: 4 kB / 1.005 GB, free: 8.086 MB / 0.9636 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 7.375e-05/0.0086, allocations: 105.8 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.008617, allocations: 7.938 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.008651, allocations: 15.25 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.008653, allocations: 0 / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.008658, allocations: 0 / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.008661, allocations: 0 / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.008789, allocations: 136.7 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.008792, allocations: 3.938 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.008852, allocations: 23.97 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008854, allocations: 0 / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.008863, allocations: 4 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.008864, allocations: 0 / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008865, allocations: 0 / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.009145, allocations: 223.4 kB / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.009154, allocations: 7.891 kB / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.009166, allocations: 0 / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.009232, allocations: 15.98 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.009271, allocations: 3.984 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.009277, allocations: 4 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.009309, allocations: 95.5 kB / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009309, allocations: 0 / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001753/0.009485, allocations: 15.92 kB / 1.005 GB, free: 7.363 MB / 0.9636 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.0004688/0.009954, allocations: 0.7553 MB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.01021, allocations: 95.92 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01021, allocations: 0 / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.01031, allocations: 51.95 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.01052, allocations: 10.23 kB / 1.006 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.01099, allocations: 202.4 kB / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01104, allocations: 59.34 kB / 1.006 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.196e-05/0.01109, allocations: 8 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.01113, allocations: 16.48 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01113, allocations: 0 / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.02577, allocations: 2.394 MB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/6.739, allocations: 3.984 kB / 1.009 GB, free: 3.828 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.791740561835468]