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.001711/0.001711, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002196/0.002196, allocations: 193 kB / 16.13 MB, free: 6.637 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.529/1.529, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.834/2.834, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.91 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6174/0.6194, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001775/0.6212, allocations: 0.6682 MB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.6232, allocations: 1.466 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.6232, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.6232, allocations: 3.938 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.6233, allocations: 3.938 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.6237, allocations: 103.7 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.179e-05/0.6237, allocations: 31.91 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.6238, allocations: 4 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.6238, allocations: 15.98 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.6239, allocations: 23.91 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.6239, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.6244, allocations: 319.3 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.6244, allocations: 7.984 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.6245, allocations: 15.92 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.6248, allocations: 183.7 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.6248, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6248, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6248, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 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.0005453/0.6253, allocations: 365.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.6254, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.6259, allocations: 64.86 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.626, allocations: 164.4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.6261, allocations: 8.375 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.6261, allocations: 8.281 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.6264, allocations: 77.89 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.6264, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.6264, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6264, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.6267, allocations: 67.92 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.6269, allocations: 165.6 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.6276, allocations: 126.6 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.6278, allocations: 48.8 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004662/0.6283, allocations: 153 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.6283, allocations: 38.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6283, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.00121/0.6295, allocations: 406.2 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.6296, allocations: 55.39 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.6296, allocations: 97.8 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.6297, allocations: 29.7 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.6297, allocations: 88.27 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.6298, allocations: 15.8 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.6298, allocations: 25.7 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6299, allocations: 310.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.6301, allocations: 31.97 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.6303, allocations: 43.95 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.6306, allocations: 76.73 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6306, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003737/0.631, allocations: 109.6 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.631, allocations: 8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.631, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.631, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.6312, allocations: 27.91 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.6312, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.6314, allocations: 15.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.6314, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 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.696e-05/0.6315, allocations: 110.6 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.6315, allocations: 19.77 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.632, allocations: 133.2 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.632, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.632, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.632, allocations: 3.984 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.6322, allocations: 162 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6322, allocations: 8 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.6323, allocations: 27.91 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.6323, allocations: 4 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.6324, allocations: 0 / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6324, allocations: 0 / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6324, allocations: 0 / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.633, allocations: 189 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.633, allocations: 89.06 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.6331, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6332, allocations: 16.05 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.6332, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.6333, allocations: 7.984 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.6333, allocations: 79.28 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6333, allocations: 3.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002371/0.6336, allocations: 31.94 kB / 1.023 GB, free: 12.08 MB / 0.7794 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.0002191/0.6338, allocations: 135.3 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.6342, allocations: 83.86 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6342, allocations: 4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.6344, allocations: 43.95 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.6345, allocations: 13.66 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.6352, allocations: 187.3 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.6355, allocations: 0.6809 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.6357, allocations: 23.98 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.6357, allocations: 15.38 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6357, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.004053/0.6398, allocations: 1.125 MB / 1.025 GB, free: 9.719 MB / 0.7794 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=400 -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