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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9341/0.9341, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.084/2.084, allocations: 429.5 MB / 0.6736 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.912e-05, allocations: 5.859 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001037/0.001056, allocations: 0.6236 MB / 0.8789 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.002425, allocations: 1.48 MB / 0.8803 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.002448, allocations: 3.938 kB / 0.8803 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.002464, allocations: 1.875 kB / 0.8803 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.66e-05/0.002491, allocations: 0 / 0.8803 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.002889, allocations: 138.1 kB / 0.8804 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.00295, allocations: 27.92 kB / 0.8805 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.002986, allocations: 3.984 kB / 0.8805 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.00304, allocations: 23.92 kB / 0.8805 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.003102, allocations: 24.67 kB / 0.8805 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.003117, allocations: 5.656 kB / 0.8805 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.003374, allocations: 243.5 kB / 0.8808 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.003389, allocations: 7.984 kB / 0.8808 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.003412, allocations: 11.92 kB / 0.8808 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.003631, allocations: 203.4 kB / 0.881 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003633, allocations: 1.344 kB / 0.881 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.5e-07/0.003634, allocations: 4 kB / 0.881 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003637, allocations: 0 / 0.881 GB, free: 3.836 MB / 0.8386 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.0003888/0.004026, allocations: 392.3 kB / 0.8813 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.004059, allocations: 8.031 kB / 0.8814 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.004305, allocations: 48.88 kB / 0.8814 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.004387, allocations: 112.5 kB / 0.8815 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.004402, allocations: 12.38 kB / 0.8815 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.004421, allocations: 384 / 0.8815 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.004581, allocations: 108.5 kB / 0.8816 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.004589, allocations: 192 / 0.8816 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.0046, allocations: 384 / 0.8816 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.004608, allocations: 3.938 kB / 0.8816 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.004654, allocations: 15.98 kB / 0.8816 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.004782, allocations: 124.6 kB / 0.8818 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.004969, allocations: 67.14 kB / 0.8818 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.005005, allocations: 19.62 kB / 0.8818 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.005174, allocations: 52.03 kB / 0.8819 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.005195, allocations: 41.39 kB / 0.8819 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005195, allocations: 0 / 0.8819 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0004285/0.005624, allocations: 209.8 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.005652, allocations: 59.34 kB / 0.8822 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.005712, allocations: 153.9 kB / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.005726, allocations: 29.7 kB / 0.8824 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.005753, allocations: 126.9 kB / 0.8825 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.00578, allocations: 27.84 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.005812, allocations: 27.38 kB / 0.8825 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.005917, allocations: 0.4884 MB / 0.883 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.005944, allocations: 8.062 kB / 0.883 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.00597, allocations: 20 kB / 0.883 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.272e-05/0.006023, allocations: 27.67 kB / 0.8831 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006023, allocations: 7.938 kB / 0.8831 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.673e-05/0.00611, allocations: 62.02 kB / 0.8831 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.006121, allocations: 6.031 kB / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.006125, allocations: 0 / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.006136, allocations: 4 kB / 0.8831 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.006206, allocations: 23.92 kB / 0.8832 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.00621, allocations: 0 / 0.8832 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.006243, allocations: 7.984 kB / 0.8832 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.00625, allocations: 7.984 kB / 0.8832 GB, free: 1.328 MB / 0.8386 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 0.0003044/0.006555, allocations: 156.6 kB / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.006567, allocations: 7.953 kB / 0.8833 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.006699, allocations: 85.41 kB / 0.8834 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.006701, allocations: 3.984 kB / 0.8834 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.006705, allocations: 3.938 kB / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006708, allocations: 0 / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.165e-05/0.006779, allocations: 120.6 kB / 0.8835 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00678, allocations: 4 kB / 0.8835 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.00684, allocations: 19.98 kB / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.006842, allocations: 0 / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.006851, allocations: 4.234 kB / 0.8836 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.006854, allocations: 8 kB / 0.8836 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006854, allocations: 0 / 0.8836 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.007007, allocations: 120.3 kB / 0.8837 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.007037, allocations: 15.94 kB / 0.8837 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.007048, allocations: 0 / 0.8837 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.007086, allocations: 8.031 kB / 0.8837 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.007109, allocations: 11.92 kB / 0.8837 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.007113, allocations: 0 / 0.8837 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.007143, allocations: 123.2 kB / 0.8838 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007143, allocations: 3.938 kB / 0.8838 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001544/0.007297, allocations: 35.86 kB / 0.8839 GB, free: 0.5352 MB / 0.8386 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.0001345/0.007432, allocations: 127.1 kB / 0.884 GB, free: 412 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.007535, allocations: 47.7 kB / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007537, allocations: 0 / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.00757, allocations: 27.67 kB / 0.8841 GB, free: 328 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.00768, allocations: 4 kB / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.008002, allocations: 154.1 kB / 0.8842 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.942e-05/0.008032, allocations: 59.34 kB / 0.8843 GB, free: 60 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.472e-05/0.008086, allocations: 20 kB / 0.8843 GB, free: 40 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.00812, allocations: 12.5 kB / 0.8843 GB, free: 28 kB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.008121, allocations: 0 / 0.8843 GB, free: 28 kB / 0.8386 GB Notification: Performance of Templates: time 0.002573/0.01069, allocations: 1.226 MB / 0.8855 GB, free: 14.81 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.30294551118277]