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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001227/0.001227, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001818/0.001818, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.895/2.895, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005778/0.0005779, allocations: 12 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8187, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007609/0.8195, allocations: 345.3 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.8212, allocations: 1.377 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.8212, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.8212, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.8213, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.8217, allocations: 115.7 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.8218, allocations: 19.97 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.8218, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.8219, allocations: 23.97 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.499e-05/0.822, allocations: 23.91 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.822, allocations: 4 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.8225, allocations: 307.4 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.8225, allocations: 3.984 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.8225, allocations: 29.7 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.8227, allocations: 139.8 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8227, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8227, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8228, allocations: 0 / 1.025 GB, free: 13.66 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.0005046/0.8233, allocations: 357.2 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8233, allocations: 12.03 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.8238, allocations: 83.91 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.8239, allocations: 171.1 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.8239, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.824, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.8242, allocations: 89.58 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.8243, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.8243, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.8243, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.8246, allocations: 83.86 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.8248, allocations: 165.6 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.8254, allocations: 146.5 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.8256, allocations: 56.91 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/0.826, allocations: 169 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.826, allocations: 42.52 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.826, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.001154/0.8272, allocations: 434.2 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.8273, allocations: 51.41 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.8273, allocations: 97.86 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.8274, allocations: 29.69 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.8274, allocations: 84.08 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.8274, allocations: 19.72 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.8274, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8276, allocations: 318.8 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.8277, allocations: 48.08 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.8279, allocations: 35.97 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.828, allocations: 47.97 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.828, allocations: 0 / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003343/0.8284, allocations: 117.6 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.8284, allocations: 15.94 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.8284, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8284, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.8286, allocations: 23.98 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8286, allocations: 0 / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.8287, allocations: 23.98 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.8287, allocations: 0 / 1.027 GB, free: 10.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.8288, allocations: 121.8 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.8288, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.8293, allocations: 149.1 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.8293, allocations: 3.984 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8293, allocations: 4.312 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8293, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.8295, allocations: 165.7 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8295, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.8296, allocations: 27.98 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8296, allocations: 3.938 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.8296, allocations: 7.953 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8297, allocations: 7.938 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8297, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.8302, allocations: 208.9 kB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.8303, allocations: 81.09 kB / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.8303, allocations: 4.031 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8304, allocations: 24 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.8304, allocations: 7.984 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.8304, allocations: 7.938 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.8305, allocations: 75.28 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8305, allocations: 0 / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002318/0.8307, allocations: 31.94 kB / 1.028 GB, free: 9.699 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002113/0.8309, allocations: 139.2 kB / 1.028 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.8313, allocations: 91.92 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8313, allocations: 0 / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.8315, allocations: 55.95 kB / 1.028 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.8316, allocations: 5.547 kB / 1.028 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.8322, allocations: 204.5 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.8325, allocations: 0.677 MB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.8326, allocations: 23.98 kB / 1.029 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.8326, allocations: 11.44 kB / 1.029 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8326, allocations: 0 / 1.029 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of Templates: time 0.003471/0.8361, allocations: 1.095 MB / 1.03 GB, free: 7.348 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=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