Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001273/0.001273, allocations: 109.4 kB / 16.41 MB, free: 6.473 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.001292/0.001292, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.576/1.576, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 71.88 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.907/0.9086, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002756/0.9114, allocations: 0.6058 MB / 1.227 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.9137, allocations: 1.45 MB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.9137, allocations: 0 / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.9138, allocations: 3.938 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.804e-05/0.9138, allocations: 3.938 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.9145, allocations: 146.8 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.9145, allocations: 31.95 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.9146, allocations: 0 / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.9147, allocations: 15.98 kB / 1.229 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.9148, allocations: 23.91 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.9148, allocations: 4 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.9153, allocations: 319.3 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.9153, allocations: 7.984 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.9153, allocations: 11.92 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.9157, allocations: 188.1 kB / 1.229 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9157, allocations: 3.938 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9157, allocations: 0 / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.9157, allocations: 0 / 1.229 GB, free: 10.64 MB / 0.9512 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.9163, allocations: 375 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.9163, allocations: 8.031 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/0.9168, allocations: 64.84 kB / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.917, allocations: 172.3 kB / 1.23 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.917, allocations: 384 / 1.23 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.917, allocations: 8.328 kB / 1.23 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.9173, allocations: 77.94 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.9174, allocations: 0 / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.9174, allocations: 4 kB / 1.23 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9174, allocations: 0 / 1.23 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.9177, allocations: 71.86 kB / 1.23 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.9179, allocations: 161.7 kB / 1.23 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.9185, allocations: 122.6 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.9187, allocations: 44.91 kB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/0.9192, allocations: 157 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.9192, allocations: 38.5 kB / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.9192, allocations: 0 / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.001159/0.9204, allocations: 402.2 kB / 1.231 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.9204, allocations: 51.41 kB / 1.231 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.9205, allocations: 97.84 kB / 1.231 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.9205, allocations: 25.83 kB / 1.231 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.9206, allocations: 96.06 kB / 1.231 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.9206, allocations: 15.84 kB / 1.231 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.9207, allocations: 21.7 kB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9208, allocations: 310.8 kB / 1.231 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.9209, allocations: 39.97 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.9211, allocations: 31.97 kB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.9214, allocations: 84.73 kB / 1.231 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.9214, allocations: 0 / 1.231 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003756/0.9218, allocations: 113.6 kB / 1.232 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.9218, allocations: 7.938 kB / 1.232 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9218, allocations: 3.938 kB / 1.232 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.9219, allocations: 0 / 1.232 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.922, allocations: 35.91 kB / 1.232 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.922, allocations: 0 / 1.232 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.9222, allocations: 15.98 kB / 1.232 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.9222, allocations: 0 / 1.232 GB, free: 7.754 MB / 0.9512 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 9.084e-05/0.9223, allocations: 110.4 kB / 1.232 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.9223, allocations: 3.938 kB / 1.232 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.9228, allocations: 137.4 kB / 1.232 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.9228, allocations: 0 / 1.232 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9228, allocations: 4.062 kB / 1.232 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.9229, allocations: 85.09 kB / 1.232 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.9229, allocations: 4.266 kB / 1.232 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.923, allocations: 11.98 kB / 1.232 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.9231, allocations: 15.98 kB / 1.232 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005089/0.9236, allocations: 204.9 kB / 1.232 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000625/0.9242, allocations: 330.6 kB / 1.233 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001708/0.9244, allocations: 51.98 kB / 1.233 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.9244, allocations: 79.28 kB / 1.233 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of Backend: time 9.12e-07/0.9244, allocations: 0 / 1.233 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00075/0.9252, allocations: 172 kB / 1.233 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005023/0.9257, allocations: 0.5687 MB / 1.233 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of Templates: time 0.004656/0.9304, allocations: 1.701 MB / 1.235 GB, free: 4.184 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches