Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008436/0.008436, allocations: 99.61 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 195.8 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9013/0.9027, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001787/0.9046, allocations: 0.5961 MB / 1.167 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.9065, allocations: 1.455 MB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.9065, allocations: 7.938 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.9066, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.643e-05/0.9066, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.9072, allocations: 139.4 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.051e-05/0.9072, allocations: 31.97 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.9073, allocations: 0 / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.9073, allocations: 23.91 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.9074, allocations: 27.95 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.9075, allocations: 0 / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.9079, allocations: 315.4 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.908, allocations: 7.922 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.908, allocations: 15.92 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.9083, allocations: 188.5 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9083, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9083, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.9084, allocations: 4 kB / 1.169 GB, free: 1.16 MB / 0.8887 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.0005647/0.9089, allocations: 367.1 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.909, allocations: 12.92 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.9094, allocations: 60.86 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.9096, allocations: 172.3 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.9096, allocations: 384 / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.9096, allocations: 4.375 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.91, allocations: 77.95 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.91, allocations: 0 / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.91, allocations: 0 / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.91, allocations: 7.984 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.9103, allocations: 67.81 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.9106, allocations: 169.7 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.9113, allocations: 126.5 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.9114, allocations: 40.92 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004995/0.9119, allocations: 153 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.912, allocations: 38.5 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.912, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.001217/0.9132, allocations: 410.3 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.9133, allocations: 55.39 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.9134, allocations: 101.8 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.9134, allocations: 25.7 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.9134, allocations: 80.14 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.9135, allocations: 19.84 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.9135, allocations: 25.83 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9137, allocations: 310.8 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.9138, allocations: 35.97 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.914, allocations: 39.95 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.9143, allocations: 76.8 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.9143, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003556/0.9147, allocations: 113.6 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9147, allocations: 4 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.9147, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9147, allocations: 3.938 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.9149, allocations: 23.97 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.9149, allocations: 4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.915, allocations: 11.98 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.915, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 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 8.461e-05/0.9151, allocations: 113.8 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.9151, allocations: 15.88 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.9156, allocations: 125.2 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.9156, allocations: 7.938 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9156, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9156, allocations: 3.984 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.9158, allocations: 173.6 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9158, allocations: 320 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.9159, allocations: 27.91 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.916, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.916, allocations: 4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.916, allocations: 8 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.916, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.9166, allocations: 181 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.9167, allocations: 93.02 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.9167, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.9168, allocations: 16.05 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.9168, allocations: 11.92 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.9169, allocations: 8 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.9169, allocations: 75.28 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9169, allocations: 0 / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002429/0.9172, allocations: 27.88 kB / 1.173 GB, free: 13.3 MB / 0.9044 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.0002794/0.9175, allocations: 135.1 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.9178, allocations: 83.95 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9179, allocations: 0 / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.918, allocations: 51.89 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.9182, allocations: 6.5 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.9188, allocations: 181.3 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.9191, allocations: 0.6729 MB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.762e-05/0.9192, allocations: 23.97 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.9193, allocations: 11.44 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.9193, allocations: 4 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.003666/0.923, allocations: 1.161 MB / 1.175 GB, free: 10.93 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches