Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.000829/0.000829, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009082/0.0009082, 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.8818/0.8818, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.8/1.8, 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.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.034e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001131/0.001151, allocations: 0.6372 MB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.002578, allocations: 1.432 MB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.002609, allocations: 0 / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.002626, allocations: 0 / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-05/0.002692, allocations: 3.938 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.003054, allocations: 127.4 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.003116, allocations: 27.86 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.003164, allocations: 11.98 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.003212, allocations: 19.92 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.003268, allocations: 15.91 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.003284, allocations: 4 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.003553, allocations: 251.4 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.003571, allocations: 4 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.003591, allocations: 15.92 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.003802, allocations: 195.5 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003804, allocations: 3.938 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.512e-06/0.003806, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.003811, allocations: 3.984 kB / 1.002 GB, free: 10.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003831/0.004194, allocations: 297.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.004235, allocations: 12.75 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.004266, allocations: 34.75 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.004486, allocations: 60.81 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.004589, allocations: 117.7 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.004604, allocations: 384 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.004621, allocations: 8.375 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.004779, allocations: 70.2 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.004789, allocations: 192 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.004799, allocations: 12.06 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004804, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.00498, allocations: 71.86 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.005253, allocations: 136.8 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.005527, allocations: 122.5 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.005618, allocations: 44.95 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.005634, allocations: 0 / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.005653, allocations: 34.56 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.005654, allocations: 0 / 1.003 GB, free: 9.562 MB / 0.9636 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.002043/0.007697, allocations: 0.7956 MB / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.007727, allocations: 51.41 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.007796, allocations: 113.8 kB / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.007811, allocations: 33.7 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.007842, allocations: 80.14 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.007881, allocations: 39.77 kB / 1.004 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.007923, allocations: 29.64 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.008003, allocations: 318.8 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.008222, allocations: 99.89 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.008427, allocations: 99.83 kB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.008819, allocations: 188.7 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008821, allocations: 0 / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004547/0.009275, allocations: 245.4 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.009288, allocations: 4 kB / 1.005 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.009293, allocations: 0 / 1.005 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.009305, allocations: 4 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.009466, allocations: 55.94 kB / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.009471, allocations: 0 / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.009569, allocations: 39.95 kB / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.009578, allocations: 4 kB / 1.005 GB, free: 7.328 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 (9): * Single equations (assignments): 9 * 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 6.565e-05/0.009644, allocations: 113.8 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.009657, allocations: 11.89 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.009689, allocations: 12.42 kB / 1.006 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.009692, allocations: 4 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.009696, allocations: 0 / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.009699, allocations: 3.938 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.01058, allocations: 0.5574 MB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01058, allocations: 288 / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.01069, allocations: 56.75 kB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.0107, allocations: 4 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.01071, allocations: 11.92 kB / 1.006 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01071, allocations: 7.938 kB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01072, allocations: 0 / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.01117, allocations: 344.9 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.01118, allocations: 8 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.0112, allocations: 4 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.01131, allocations: 35.95 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.01135, allocations: 7.984 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.01135, allocations: 7.984 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.01139, allocations: 95.22 kB / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01139, allocations: 4 kB / 1.007 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002015/0.01159, allocations: 39.86 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0007152/0.01231, allocations: 0.8973 MB / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.01276, allocations: 207.7 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01276, allocations: 0 / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.01297, allocations: 108 kB / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.01314, allocations: 4 kB / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.01555, allocations: 2.145 MB / 1.01 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.0156, allocations: 67.34 kB / 1.01 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.01579, allocations: 29.03 kB / 1.01 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.01585, allocations: 24.48 kB / 1.01 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.01585, allocations: 3.938 kB / 1.01 GB, free: 2.301 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.03075, allocations: 3.499 MB / 1.014 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/6.897, allocations: 8.969 kB / 1.014 GB, free: 14.94 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.963074571453035]