Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001282/0.001282, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001433/0.001433, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",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.00276/0.00276, allocations: 65.81 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3536, allocations: 169.9 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00228/0.3558, allocations: 0.7832 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.358, allocations: 1.445 MB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.358, allocations: 4 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3581, allocations: 3.938 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.3581, allocations: 7.875 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.3587, allocations: 155.4 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3588, allocations: 39.97 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.3588, allocations: 4 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.3589, allocations: 31.91 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.359, allocations: 35.84 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.359, allocations: 7.938 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.3594, allocations: 259.5 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.3595, allocations: 15.98 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.3595, allocations: 23.91 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.3599, allocations: 203 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.3599, allocations: 4 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3599, allocations: 0 / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3599, allocations: 0 / 1.287 GB, free: 7.637 MB / 0.9825 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.0007248/0.3606, allocations: 333.7 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3606, allocations: 8.031 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.632e-05/0.3607, allocations: 4.188 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.3607, allocations: 34.75 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.3612, allocations: 72.8 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3613, allocations: 114.4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3613, allocations: 8.375 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.3613, allocations: 8.375 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.3618, allocations: 166.9 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3618, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3618, allocations: 4 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3618, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.3623, allocations: 103.9 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.3629, allocations: 299.7 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.3636, allocations: 146.4 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.3638, allocations: 56.81 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3639, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3639, allocations: 38.5 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.3639, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.9825 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.01974/0.3836, allocations: 2.692 MB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3837, allocations: 55.41 kB / 1.291 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.3838, allocations: 101.8 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.3838, allocations: 29.7 kB / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.3839, allocations: 88.09 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.384, allocations: 39.64 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3841, allocations: 69.58 kB / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3843, allocations: 318.8 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000676/0.385, allocations: 187.8 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.3856, allocations: 199.9 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.387, allocations: 398 kB / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.387, allocations: 0 / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001629/0.3886, allocations: 473.2 kB / 1.293 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3886, allocations: 4 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3886, allocations: 0 / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3887, allocations: 3.938 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.3895, allocations: 111.8 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3895, allocations: 0 / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.3902, allocations: 47.97 kB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.3902, allocations: 35.86 kB / 1.293 GB, free: 1.203 MB / 0.9825 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.0001666/0.3904, allocations: 119.1 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.3905, allocations: 7.953 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/0.3905, allocations: 12.25 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3905, allocations: 3.938 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3905, allocations: 3.984 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3906, allocations: 7.984 kB / 1.293 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.3929, allocations: 0.9836 MB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3929, allocations: 7.875 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/0.3937, allocations: 99.8 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3937, allocations: 8 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.3938, allocations: 27.86 kB / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3938, allocations: 0 / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3938, allocations: 0 / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.3963, allocations: 0.7906 MB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3964, allocations: 43.83 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.3965, allocations: 3.984 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.3973, allocations: 47.94 kB / 1.295 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3974, allocations: 27.86 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.3974, allocations: 28 kB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.878e-05/0.3975, allocations: 87.27 kB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3975, allocations: 0 / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003917/0.3979, allocations: 55.94 kB / 1.295 GB, free: 14.72 MB / 0.9981 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.002932/0.4008, allocations: 1.341 MB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.4024, allocations: 415.5 kB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4024, allocations: 7.938 kB / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.4031, allocations: 223.7 kB / 1.297 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.4035, allocations: 11.98 kB / 1.297 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009282/0.4128, allocations: 2.936 MB / 1.3 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.4129, allocations: 87.27 kB / 1.3 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005352/0.4134, allocations: 92.66 kB / 1.3 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.4137, allocations: 67.3 kB / 1.3 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/0.4137, allocations: 4 kB / 1.3 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.4443, allocations: 4.975 MB / 1.305 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.93, allocations: 10.56 kB / 1.305 GB, free: 4.598 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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: 18.841244849958457]