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.0008186/0.0008186, 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.000923/0.000923, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8913/0.8913, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.749/1.749, allocations: 389 MB / 0.633 GB, free: 12.69 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.603e-06/1.603e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.545e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001051/0.001067, allocations: 0.6344 MB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.002359, allocations: 1.424 MB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.002386, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.002402, allocations: 3.938 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.002465, allocations: 3.984 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.002795, allocations: 131.4 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.00285, allocations: 27.86 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.002892, allocations: 8 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.002935, allocations: 19.92 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.002986, allocations: 15.95 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.003, allocations: 7.938 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.003254, allocations: 247.5 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.003272, allocations: 11.94 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.003291, allocations: 11.92 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.003492, allocations: 199.5 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003494, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003495, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.003498, allocations: 0 / 1.002 GB, free: 10.68 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.0003648/0.003863, allocations: 301.8 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.003898, allocations: 12.75 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.003926, allocations: 34.75 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.004133, allocations: 60.81 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.52e-05/0.004228, allocations: 113.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.004241, allocations: 4.375 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.004259, allocations: 8.375 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.004413, allocations: 66.2 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.004423, allocations: 8.172 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004433, allocations: 4.125 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.004438, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.004614, allocations: 75.84 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.00474, allocations: 136.8 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.005007, allocations: 118.5 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.0051, allocations: 44.94 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.005114, allocations: 0 / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.005133, allocations: 38.56 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.005134, allocations: 7.938 kB / 1.003 GB, free: 9.539 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.002009/0.007143, allocations: 0.7856 MB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.00717, allocations: 51.41 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.007233, allocations: 117.8 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.007248, allocations: 29.7 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.007273, allocations: 84.12 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.007308, allocations: 35.78 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.007347, allocations: 29.64 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.007418, allocations: 322.8 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.007634, allocations: 99.84 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.007836, allocations: 95.89 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.008234, allocations: 192.7 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.008235, allocations: 0 / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004424/0.008677, allocations: 241.4 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.008689, allocations: 4 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008693, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.008706, allocations: 7.984 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.00886, allocations: 51.95 kB / 1.005 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.008865, allocations: 3.984 kB / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/0.008965, allocations: 35.97 kB / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.008977, allocations: 7.984 kB / 1.005 GB, free: 7.309 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 5.758e-05/0.009035, allocations: 113.8 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.009048, allocations: 11.89 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.009077, allocations: 8.438 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009079, allocations: 4 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.009083, allocations: 0 / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.009086, allocations: 3.984 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.009974, allocations: 0.5535 MB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.009976, allocations: 4.281 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.01009, allocations: 55.94 kB / 1.006 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.0101, allocations: 4 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01011, allocations: 8.688 kB / 1.006 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01011, allocations: 4 kB / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01011, allocations: 7.922 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.01057, allocations: 344.9 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.01058, allocations: 7.984 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.0106, allocations: 4 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01071, allocations: 35.95 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.01074, allocations: 11.98 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.01075, allocations: 4 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.393e-05/0.01078, allocations: 99.2 kB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01078, allocations: 0 / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001966/0.01098, allocations: 35.88 kB / 1.007 GB, free: 5.914 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.0007214/0.0117, allocations: 0.8973 MB / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.01216, allocations: 207.7 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01216, allocations: 0 / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.01237, allocations: 108 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.01253, allocations: 4 kB / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.01502, allocations: 2.15 MB / 1.01 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.01507, allocations: 75.33 kB / 1.01 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.687e-05/0.01514, allocations: 21.05 kB / 1.01 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.01521, allocations: 28.47 kB / 1.01 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.01521, allocations: 0 / 1.01 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.03198, allocations: 3.498 MB / 1.014 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/6.886, allocations: 3.938 kB / 1.014 GB, free: 14.92 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable y in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable xInv in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable xInv from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable dy_dt in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable dy_dt from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.994235443882644]