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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 106.6 kB / 16.4 MB, free: 6.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 191.7 kB / 19.35 MB, free: 3.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.737/3.737, allocations: 489 MB / 0.7678 GB, free: 29.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002041/0.002041, allocations: 71.88 kB / 1.101 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8807/0.8828, allocations: 163.8 MB / 1.261 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003778/0.8866, allocations: 1.446 MB / 1.262 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.8887, allocations: 0.7906 MB / 1.263 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.8888, allocations: 0 / 1.263 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.8888, allocations: 0 / 1.263 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.8889, allocations: 7.875 kB / 1.263 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.8897, allocations: 139.2 kB / 1.263 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.8898, allocations: 31.92 kB / 1.263 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.8899, allocations: 7.984 kB / 1.263 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.89, allocations: 12 kB / 1.263 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.972e-05/0.8901, allocations: 19.91 kB / 1.263 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.8901, allocations: 4 kB / 1.263 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007882/0.8909, allocations: 323.3 kB / 1.264 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.891, allocations: 0 / 1.264 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.891, allocations: 19.92 kB / 1.264 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.8915, allocations: 198.3 kB / 1.264 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8916, allocations: 0 / 1.264 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8916, allocations: 0 / 1.264 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.8916, allocations: 0 / 1.264 GB, free: 4.098 MB / 0.9669 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.0007702/0.8924, allocations: 371.1 kB / 1.264 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.8924, allocations: 12.03 kB / 1.264 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.8925, allocations: 38.73 kB / 1.264 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007433/0.8932, allocations: 64.81 kB / 1.264 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.8934, allocations: 172.3 kB / 1.265 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.8935, allocations: 8.25 kB / 1.265 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.8935, allocations: 384 / 1.265 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.894, allocations: 89.75 kB / 1.265 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.894, allocations: 0 / 1.265 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.894, allocations: 3.938 kB / 1.265 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.894, allocations: 4 kB / 1.265 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.8947, allocations: 87.91 kB / 1.265 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.8955, allocations: 296.8 kB / 1.265 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.8961, allocations: 102.4 kB / 1.265 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.8965, allocations: 52.88 kB / 1.265 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.8965, allocations: 0 / 1.265 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.8966, allocations: 30.56 kB / 1.265 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.8966, allocations: 4 kB / 1.265 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.001153/0.8978, allocations: 169.5 kB / 1.265 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.8978, allocations: 55.34 kB / 1.265 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.898, allocations: 105.8 kB / 1.266 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.898, allocations: 25.7 kB / 1.266 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.8981, allocations: 84.27 kB / 1.266 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.8981, allocations: 3.953 kB / 1.266 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.8982, allocations: 21.7 kB / 1.266 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.8984, allocations: 314.8 kB / 1.266 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.8988, allocations: 47.95 kB / 1.266 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.8991, allocations: 43.95 kB / 1.266 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/0.8997, allocations: 88.83 kB / 1.266 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8997, allocations: 0 / 1.266 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007331/0.9005, allocations: 121.6 kB / 1.266 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.9005, allocations: 7.938 kB / 1.266 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9005, allocations: 8.031 kB / 1.266 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.9006, allocations: 0 / 1.266 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.9008, allocations: 20.22 kB / 1.266 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9009, allocations: 0 / 1.266 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.9011, allocations: 23.97 kB / 1.266 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.9011, allocations: 0 / 1.266 GB, free: 1.438 MB / 0.9669 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.0001221/0.9012, allocations: 125.7 kB / 1.266 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.9013, allocations: 3.953 kB / 1.266 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.9013, allocations: 3.125 kB / 1.266 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.9013, allocations: 0 / 1.266 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9013, allocations: 0 / 1.266 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9013, allocations: 0 / 1.266 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.9017, allocations: 173.6 kB / 1.267 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9017, allocations: 4 kB / 1.267 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.9019, allocations: 23.97 kB / 1.267 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.9019, allocations: 0 / 1.267 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.9019, allocations: 0 / 1.267 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9019, allocations: 0 / 1.267 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.902, allocations: 4 kB / 1.267 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.9027, allocations: 231.3 kB / 1.267 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.9028, allocations: 77.11 kB / 1.267 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.9029, allocations: 32 / 1.267 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.9031, allocations: 23.97 kB / 1.267 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.9032, allocations: 0 / 1.267 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.9032, allocations: 4 kB / 1.267 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.102e-05/0.9033, allocations: 83.27 kB / 1.267 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9033, allocations: 0 / 1.267 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004669/0.9037, allocations: 15.94 kB / 1.267 GB, free: 0.5859 MB / 0.9669 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.001343/0.9051, allocations: 0.763 MB / 1.268 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.9058, allocations: 103.9 kB / 1.268 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9058, allocations: 0 / 1.268 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.9061, allocations: 52.02 kB / 1.268 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.9066, allocations: 7.984 kB / 1.268 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.9076, allocations: 190.9 kB / 1.268 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.908, allocations: 0.6768 MB / 1.269 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001/0.9081, allocations: 8 kB / 1.269 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.9082, allocations: 11.44 kB / 1.269 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2.876e-06/0.9082, allocations: 0 / 1.269 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.9307, allocations: 1.698 MB / 1.27 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.972, allocations: 3.281 kB / 1.27 GB, free: 13.08 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.760197091847658]