Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.0008108/0.0008108, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008495/0.0008495, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8786/0.8786, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.728/1.728, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9823 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.793e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001041/0.001059, allocations: 0.6337 MB / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.002369, allocations: 1.431 MB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.002395, allocations: 4 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.00241, allocations: 0 / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.002476, allocations: 7.875 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.002804, allocations: 119.5 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.002861, allocations: 35.84 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.002903, allocations: 4 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.002947, allocations: 15.98 kB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.003, allocations: 15.91 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003015, allocations: 4 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.003266, allocations: 251.4 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.003282, allocations: 7.984 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.0033, allocations: 11.94 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.00351, allocations: 199.5 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003513, allocations: 0 / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003514, allocations: 3.938 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.003518, allocations: 4 kB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003632/0.003881, allocations: 305.7 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.003913, allocations: 8.031 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.004125, allocations: 68.75 kB / 0.9853 GB, free: 14.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.93e-05/0.004214, allocations: 113.8 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.004227, allocations: 4.375 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.004244, allocations: 384 / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.0044, allocations: 78.2 kB / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.004409, allocations: 192 / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.004418, allocations: 384 / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.004425, allocations: 11.94 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.004603, allocations: 67.92 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.004722, allocations: 121.3 kB / 0.9857 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.004987, allocations: 122.4 kB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.005076, allocations: 44.94 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.005089, allocations: 0 / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.005106, allocations: 34.56 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.005106, allocations: 0 / 0.9859 GB, free: 14.18 MB / 0.948 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.001989/0.007096, allocations: 0.7856 MB / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.007124, allocations: 55.39 kB / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.007186, allocations: 113.8 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.007199, allocations: 29.7 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.007231, allocations: 88.14 kB / 0.9869 GB, free: 13.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.007264, allocations: 27.73 kB / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.007302, allocations: 29.7 kB / 0.987 GB, free: 13.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.007445, allocations: 318.8 kB / 0.9873 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.007656, allocations: 95.89 kB / 0.9874 GB, free: 12.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.007854, allocations: 95.91 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.008244, allocations: 200.8 kB / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008245, allocations: 0 / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004485/0.008694, allocations: 241.4 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.008704, allocations: 8 kB / 0.9879 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.00871, allocations: 11.92 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.008721, allocations: 0 / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.00887, allocations: 51.94 kB / 0.9879 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.008874, allocations: 0 / 0.9879 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.008973, allocations: 35.95 kB / 0.988 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.008984, allocations: 12.25 kB / 0.988 GB, free: 11.95 MB / 0.948 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 (9): * Single equations (assignments): 9 * 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 5.536e-05/0.009039, allocations: 109.8 kB / 0.9881 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.00905, allocations: 3.953 kB / 0.9881 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.00908, allocations: 28.36 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.009082, allocations: 0 / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.009086, allocations: 0.75 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.009088, allocations: 0 / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008342/0.009922, allocations: 0.5307 MB / 0.9886 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009923, allocations: 8.062 kB / 0.9886 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.01004, allocations: 51.94 kB / 0.9887 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01004, allocations: 4 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01005, allocations: 4 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01005, allocations: 4 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01005, allocations: 7.938 kB / 0.9887 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.0105, allocations: 340.9 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.01051, allocations: 8.141 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.01053, allocations: 7.984 kB / 0.9891 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.01064, allocations: 43.89 kB / 0.9891 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.01067, allocations: 7.984 kB / 0.9891 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.01068, allocations: 4 kB / 0.9891 GB, free: 10.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.01071, allocations: 91.27 kB / 0.9892 GB, free: 10.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 0.9892 GB, free: 10.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001869/0.0109, allocations: 39.88 kB / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0001311/0.01103, allocations: 131.1 kB / 0.9894 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.01148, allocations: 203.7 kB / 0.9896 GB, free: 10.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01148, allocations: 4 kB / 0.9896 GB, free: 10.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.01168, allocations: 104 kB / 0.9897 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.01185, allocations: 11.94 kB / 0.9897 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.01261, allocations: 432 kB / 0.9901 GB, free: 9.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.386e-05/0.01266, allocations: 79.14 kB / 0.9902 GB, free: 9.582 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.01271, allocations: 20.48 kB / 0.9902 GB, free: 9.562 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/0.01271, allocations: 0 / 0.9902 GB, free: 9.562 MB / 0.948 GB Notification: Performance of Templates: time 0.002002/0.01471, allocations: 1.463 MB / 0.9916 GB, free: 8.102 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.50959777738899]