Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001388/0.001388, allocations: 117 kB / 17.54 MB, free: 4.762 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.001529/0.001529, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.347/2.347, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 71.88 kB / 1.059 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2663, allocations: 160.7 MB / 1.216 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001981/0.2683, allocations: 0.7923 MB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2702, allocations: 1.486 MB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.2703, allocations: 0 / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.2703, allocations: 7.938 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.2703, allocations: 3.938 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.2709, allocations: 147.3 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.567e-05/0.2709, allocations: 43.97 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.271, allocations: 11.98 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.2711, allocations: 23.92 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.2711, allocations: 35.83 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2711, allocations: 4 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.2716, allocations: 327.3 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.2716, allocations: 11.98 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.2717, allocations: 23.86 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.272, allocations: 211.6 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.272, allocations: 4 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.272, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.272, allocations: 4 kB / 1.219 GB, free: 12.73 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000636/0.2726, allocations: 402.9 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2727, allocations: 12.03 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.2727, allocations: 38.73 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/0.2731, allocations: 64.86 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2733, allocations: 176.3 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2733, allocations: 8.312 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.2733, allocations: 12.38 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.2737, allocations: 105.7 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2737, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2737, allocations: 7.938 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2737, allocations: 4 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.2742, allocations: 99.89 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.2748, allocations: 340.6 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.2754, allocations: 154.4 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.2756, allocations: 56.81 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.2757, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.2757, allocations: 34.55 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.2757, allocations: 0 / 1.22 GB, free: 11.07 MB / 0.9669 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=11): time 0.01778/0.2935, allocations: 2.848 MB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.2935, allocations: 55.34 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.2936, allocations: 97.86 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.2936, allocations: 29.7 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.2937, allocations: 96 kB / 1.223 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.2938, allocations: 39.69 kB / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.2939, allocations: 69.58 kB / 1.223 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2941, allocations: 318.8 kB / 1.224 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.2947, allocations: 195.7 kB / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.2954, allocations: 191.8 kB / 1.224 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.2968, allocations: 392.5 kB / 1.224 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2968, allocations: 0 / 1.224 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001546/0.2983, allocations: 481.2 kB / 1.225 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2983, allocations: 8 kB / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.2983, allocations: 320 / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2983, allocations: 4 kB / 1.225 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/0.2992, allocations: 111.7 kB / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2992, allocations: 0 / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.2998, allocations: 43.94 kB / 1.225 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.2998, allocations: 27.92 kB / 1.225 GB, free: 5.957 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 (13): * Single equations (assignments): 13 * 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.0001517/0.3, allocations: 121.8 kB / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.3, allocations: 7.953 kB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.3001, allocations: 15.97 kB / 1.225 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3001, allocations: 3.938 kB / 1.225 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3001, allocations: 0 / 1.225 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3001, allocations: 0 / 1.225 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.3024, allocations: 1.043 MB / 1.226 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3024, allocations: 0 / 1.226 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007884/0.3032, allocations: 111.8 kB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3032, allocations: 3.938 kB / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.3032, allocations: 23.94 kB / 1.226 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3032, allocations: 4 kB / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3032, allocations: 4 kB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.3056, allocations: 0.7877 MB / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3057, allocations: 121 kB / 1.227 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.3057, allocations: 4 kB / 1.227 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/0.3064, allocations: 47.92 kB / 1.227 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.3065, allocations: 23.94 kB / 1.227 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.3066, allocations: 31.92 kB / 1.227 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.3066, allocations: 83.22 kB / 1.227 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3066, allocations: 0 / 1.227 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003548/0.307, allocations: 55.94 kB / 1.227 GB, free: 3.32 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.002667/0.3096, allocations: 1.345 MB / 1.229 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.3111, allocations: 419.5 kB / 1.229 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3111, allocations: 0 / 1.229 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007181/0.3118, allocations: 223.7 kB / 1.229 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3121, allocations: 12 kB / 1.229 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008476/0.3206, allocations: 2.951 MB / 1.232 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3209, allocations: 0.6889 MB / 1.233 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004583/0.3213, allocations: 92.67 kB / 1.233 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.3216, allocations: 63.3 kB / 1.233 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3216, allocations: 0 / 1.233 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.3499, allocations: 4.616 MB / 1.238 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.494, allocations: 7.938 kB / 1.238 GB, free: 8.867 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_y in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_y from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_err in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_err from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable err in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable err from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.721823095002037]