Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001457/0.001457, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001615/0.001615, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.564/1.564, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] 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 3.241/3.241, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002978/0.002978, allocations: 71.53 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.385, allocations: 180.2 MB / 1.348 GB, free: 9.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002144/0.3871, allocations: 0.7897 MB / 1.349 GB, free: 9.141 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.3892, allocations: 1.54 MB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.3892, allocations: 0 / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.3893, allocations: 3.938 kB / 1.35 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.3893, allocations: 3.938 kB / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.3899, allocations: 147.4 kB / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.39, allocations: 47.91 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.3901, allocations: 7.984 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.385e-05/0.3902, allocations: 27.91 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.3902, allocations: 27.91 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3902, allocations: 4 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.3907, allocations: 323.3 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.3908, allocations: 15.92 kB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.3908, allocations: 35.84 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.3912, allocations: 207.7 kB / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3912, allocations: 0 / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3912, allocations: 3.938 kB / 1.351 GB, free: 6.742 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.3912, allocations: 0 / 1.351 GB, free: 6.742 MB / 1.045 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.0007849/0.392, allocations: 406.9 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.392, allocations: 11.98 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.3921, allocations: 42.73 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.3925, allocations: 68.84 kB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3927, allocations: 172.3 kB / 1.352 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.3927, allocations: 8.375 kB / 1.352 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3927, allocations: 4.375 kB / 1.352 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.3931, allocations: 116 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3931, allocations: 0 / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3932, allocations: 8 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3932, allocations: 0 / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.3937, allocations: 107.9 kB / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.3943, allocations: 332.7 kB / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.395, allocations: 146.4 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.3952, allocations: 60.8 kB / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3952, allocations: 0 / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3953, allocations: 34.56 kB / 1.352 GB, free: 5.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.3953, allocations: 3.984 kB / 1.352 GB, free: 5.082 MB / 1.045 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.01893/0.4142, allocations: 2.839 MB / 1.355 GB, free: 2.148 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.4143, allocations: 59.34 kB / 1.355 GB, free: 2.078 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.4144, allocations: 101.8 kB / 1.355 GB, free: 1.969 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.4144, allocations: 25.7 kB / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.4145, allocations: 96.06 kB / 1.355 GB, free: 1.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.4146, allocations: 39.64 kB / 1.355 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.4148, allocations: 73.58 kB / 1.356 GB, free: 1.723 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4149, allocations: 314.8 kB / 1.356 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.4156, allocations: 187.8 kB / 1.356 GB, free: 1.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.4163, allocations: 191.8 kB / 1.356 GB, free: 1.035 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.4178, allocations: 399.3 kB / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4178, allocations: 0 / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00166/0.4194, allocations: 477.3 kB / 1.357 GB, free: 176 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4195, allocations: 8 kB / 1.357 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4195, allocations: 3.938 kB / 1.357 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4195, allocations: 0 / 1.357 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000847/0.4203, allocations: 111.7 kB / 1.357 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4203, allocations: 0 / 1.357 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/0.421, allocations: 47.94 kB / 1.357 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.421, allocations: 28 kB / 1.357 GB, free: 15.97 MB / 1.061 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.0001691/0.4212, allocations: 117.8 kB / 1.357 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.4213, allocations: 4 kB / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.4213, allocations: 7.969 kB / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4213, allocations: 3.938 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4214, allocations: 0 / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4214, allocations: 4 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.4238, allocations: 1.054 MB / 1.358 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4238, allocations: 0 / 1.358 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008647/0.4247, allocations: 115.7 kB / 1.358 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.4247, allocations: 4 kB / 1.358 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.4247, allocations: 23.94 kB / 1.358 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4247, allocations: 0 / 1.358 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4247, allocations: 7.922 kB / 1.358 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.4273, allocations: 0.792 MB / 1.359 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.4275, allocations: 113 kB / 1.359 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.4276, allocations: 4 kB / 1.359 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007009/0.4283, allocations: 51.98 kB / 1.359 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4284, allocations: 23.94 kB / 1.359 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/0.4284, allocations: 28.02 kB / 1.359 GB, free: 13.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.4285, allocations: 79.22 kB / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4285, allocations: 0 / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004048/0.4289, allocations: 55.94 kB / 1.36 GB, free: 13.34 MB / 1.061 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.002915/0.4318, allocations: 1.348 MB / 1.361 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.4334, allocations: 423.5 kB / 1.361 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4334, allocations: 4 kB / 1.361 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.4342, allocations: 219.7 kB / 1.362 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.4345, allocations: 8 kB / 1.362 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/0.4439, allocations: 2.94 MB / 1.364 GB, free: 8.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.4442, allocations: 0.6924 MB / 1.365 GB, free: 7.586 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004949/0.4447, allocations: 92.75 kB / 1.365 GB, free: 7.496 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.445, allocations: 63.3 kB / 1.365 GB, free: 7.434 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/0.445, allocations: 0 / 1.365 GB, free: 7.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.4761, allocations: 4.595 MB / 1.37 GB, free: 2.977 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/8.995, allocations: 9.609 kB / 1.37 GB, free: 2.969 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_y in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_err in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_err from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable err in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable err from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.971300899982452]