Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001648/0.001648, allocations: 112 kB / 17.6 MB, free: 4.699 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.001883/0.001883, allocations: 186 kB / 20.78 MB, free: 1.539 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.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.019/3.019, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.88 kB / 1.107 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.036, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001806/1.037, allocations: 0.6181 MB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001866/1.039, allocations: 1.459 MB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/1.039, allocations: 0.9062 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/1.039, allocations: 0 / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/1.039, allocations: 3.938 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/1.04, allocations: 146.2 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.814e-05/1.04, allocations: 32.22 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/1.04, allocations: 5.844 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/1.04, allocations: 13.3 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/1.04, allocations: 26.22 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/1.04, allocations: 6.469 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/1.041, allocations: 318 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/1.041, allocations: 9.25 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/1.041, allocations: 6.984 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/1.041, allocations: 188.5 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.041, allocations: 0 / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.026e-06/1.041, allocations: 3.953 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.041, allocations: 0 / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005182/1.041, allocations: 373.4 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.042, allocations: 9.406 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/1.042, allocations: 35.72 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004617/1.042, allocations: 65.83 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.666e-05/1.042, allocations: 167.2 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/1.042, allocations: 2.094 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/1.042, allocations: 10.06 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/1.042, allocations: 83.02 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.042, allocations: 0.9688 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/1.042, allocations: 0 / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.042, allocations: 1.578 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/1.043, allocations: 64.59 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/1.043, allocations: 160.8 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/1.044, allocations: 118.2 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/1.044, allocations: 52.06 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/1.044, allocations: 155.4 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/1.044, allocations: 37.08 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.044, allocations: 0 / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.001192/1.045, allocations: 406.5 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/1.045, allocations: 52.62 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/1.045, allocations: 100.7 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/1.046, allocations: 26.98 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/1.046, allocations: 80.14 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/1.046, allocations: 18.09 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/1.046, allocations: 16.19 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.498e-05/1.046, allocations: 322 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/1.046, allocations: 33.5 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/1.046, allocations: 43.75 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/1.046, allocations: 71.28 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/1.046, allocations: 4 kB / 1.277 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003661/1.047, allocations: 121.5 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.047, allocations: 5.344 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/1.047, allocations: 5.156 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.047, allocations: 3.984 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/1.047, allocations: 21.08 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.047, allocations: 0.625 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/1.047, allocations: 15.83 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/1.047, allocations: 3.625 kB / 1.277 GB, free: 3.914 MB / 0.9981 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 (6): * Single equations (assignments): 6 * 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.544e-05/1.047, allocations: 115.8 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/1.047, allocations: 6 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/1.047, allocations: 137.1 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.047, allocations: 1.156 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.047, allocations: 4 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.048, allocations: 3.688 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.946e-05/1.048, allocations: 164.5 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.048, allocations: 5.094 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/1.048, allocations: 21.27 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.048, allocations: 1.031 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/1.048, allocations: 1.672 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.048, allocations: 0.875 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.048, allocations: 2.109 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/1.048, allocations: 189.1 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/1.048, allocations: 90.95 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/1.048, allocations: 0.75 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/1.049, allocations: 15.2 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/1.049, allocations: 5.875 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/1.049, allocations: 4.25 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.085e-05/1.049, allocations: 81.75 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.049, allocations: 0 / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002753/1.049, allocations: 29.98 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0008355/1.05, allocations: 0.7528 MB / 1.278 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004011/1.05, allocations: 84.92 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.05, allocations: 0.7812 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/1.05, allocations: 49.36 kB / 1.279 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/1.05, allocations: 5.969 kB / 1.279 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/1.052, allocations: 1.375 MB / 1.28 GB, free: 17.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.053, allocations: 0.6825 MB / 1.281 GB, free: 16.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.118e-05/1.053, allocations: 21.41 kB / 1.281 GB, free: 16.69 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/1.053, allocations: 19.22 kB / 1.281 GB, free: 16.67 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.053, allocations: 0.9062 kB / 1.281 GB, free: 16.67 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/1.082, allocations: 2.049 MB / 1.283 GB, free: 16.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/9.169, allocations: 11.56 kB / 1.283 GB, free: 16.25 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y_comp,y Variables in the result:delta,der(x),der(y_comp),err,time,x,y,y_comp [Calling sys.exit(0), Time elapsed: 15.548754333984107]